TeamProject.SetCheckinPolicies Method
Sets the check-in policies for this project.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣告
Public Sub SetCheckinPolicies ( _
policies As PolicyEnvelope() _
)
public void SetCheckinPolicies(
PolicyEnvelope[] policies
)
public:
void SetCheckinPolicies(
array<PolicyEnvelope^>^ policies
)
member SetCheckinPolicies :
policies:PolicyEnvelope[] -> unit
public function SetCheckinPolicies(
policies : PolicyEnvelope[]
)
Parameters
- policies
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyEnvelope[]
The check-in policies to set. Specify null or an empty array to clear the policies for this project.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.