Export (0) Print
Expand All

Workspace.EvaluateCheckin2 Method (CheckinEvaluationOptions, IEnumerable<PendingChange>, IEnumerable<PendingChange>, String, CheckinNote, WorkItemCheckinInfo[])

Evaluate the pending changes to verify whether they are ready to check in.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public CheckinEvaluationResult EvaluateCheckin2(
	CheckinEvaluationOptions options,
	IEnumerable<PendingChange> allChanges,
	IEnumerable<PendingChange> changes,
	string comment,
	CheckinNote checkinNote,
	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: System.Collections.Generic.IEnumerable<PendingChange>

The complete set of pending changes for the workspace. If you do not specify this parameter, all pending changes are evaluated.

changes
Type: System.Collections.Generic.IEnumerable<PendingChange>

The candidate changes for evaluation.

comment
Type: System.String

Check-in comment for validation.

checkinNote
Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinNote

Check-in notes.

workItemChanges
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkItemCheckinInfo[]

Associated work items for this check-in.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinEvaluationResult
The result of the evaluation.

Show:
© 2015 Microsoft