This documentation is archived and is not being maintained.
Workspace::EvaluateCheckin Method
Visual Studio 2013
Evaluates the pending changes to verify whether they are ready for check-in.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: CheckinEvaluationResult^ EvaluateCheckin( CheckinEvaluationOptions options, array<PendingChange^>^ allChanges, array<PendingChange^>^ changes, String^ comment, CheckinNote^ checkinNote, array<WorkItemCheckinInfo^>^ workItemChanges )
Parameters
- options
- Type: Microsoft.TeamFoundation.VersionControl.Client::CheckinEvaluationOptions
One or more of the enum values (Notes, Policies, Conflicts, or All) as options for the check-in evaluation.
- allChanges
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::PendingChange>
The complete set of pending changes for the workspace. If you do not specify this parameter, all pending changes are evaluated.
- changes
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::PendingChange>
The candidate changes for evaluation.
- comment
- Type: System::String
Check-in comment for validation.
- checkinNote
- Type: Microsoft.TeamFoundation.VersionControl.Client::CheckinNote
One or more check-in notes.
- workItemChanges
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::WorkItemCheckinInfo>
The work items that are associated with this check-in.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client::CheckinEvaluationResultThe result of the evaluation.
- 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.
Show: