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)
Syntax
'Declaration
Public Function EvaluateCheckin2 ( _
    options As CheckinEvaluationOptions, _
    allChanges As IEnumerable(Of PendingChange), _
    changes As IEnumerable(Of PendingChange), _
    comment As String, _
    checkinNote As CheckinNote, _
    workItemChanges As WorkItemCheckinInfo() _
) As CheckinEvaluationResult
public CheckinEvaluationResult EvaluateCheckin2(
    CheckinEvaluationOptions options,
    IEnumerable<PendingChange> allChanges,
    IEnumerable<PendingChange> changes,
    string comment,
    CheckinNote checkinNote,
    WorkItemCheckinInfo[] workItemChanges
)
public:
CheckinEvaluationResult^ EvaluateCheckin2(
    CheckinEvaluationOptions options, 
    IEnumerable<PendingChange^>^ allChanges, 
    IEnumerable<PendingChange^>^ changes, 
    String^ comment, 
    CheckinNote^ checkinNote, 
    array<WorkItemCheckinInfo^>^ workItemChanges
)
member EvaluateCheckin2 : 
        options:CheckinEvaluationOptions * 
        allChanges:IEnumerable<PendingChange> * 
        changes:IEnumerable<PendingChange> * 
        comment:string * 
        checkinNote:CheckinNote * 
        workItemChanges:WorkItemCheckinInfo[] -> CheckinEvaluationResult
public function EvaluateCheckin2(
    options : CheckinEvaluationOptions, 
    allChanges : IEnumerable<PendingChange>, 
    changes : IEnumerable<PendingChange>, 
    comment : String, 
    checkinNote : CheckinNote, 
    workItemChanges : WorkItemCheckinInfo[]
) : CheckinEvaluationResult
Parameters
options
Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinEvaluationOptionsOne 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.StringCheck-in comment for validation.
checkinNote
Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinNoteCheck-in notes.
workItemChanges
Type: array<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.
.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.