This documentation is archived and is not being maintained.

Workspace::EvaluateCheckin2 Method (CheckinEvaluationOptions, IEnumerable<PendingChange>, IEnumerable<PendingChange>, String, CheckinNote, array<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, 
	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: 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: array<Microsoft.TeamFoundation.VersionControl.Client::WorkItemCheckinInfo>

Associated work items for this check-in.

Show: