Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function EvaluateCheckin ( _
    options As CheckinEvaluationOptions, _
    allChanges As PendingChange(), _
    changes As PendingChange(), _
    comment As String, _
    checkinNote As CheckinNote, _
    workItemChanges As WorkItemCheckinInfo() _
) As CheckinEvaluationResult
public CheckinEvaluationResult EvaluateCheckin(
    CheckinEvaluationOptions options,
    PendingChange[] allChanges,
    PendingChange[] changes,
    string comment,
    CheckinNote checkinNote,
    WorkItemCheckinInfo[] workItemChanges
)
public:
CheckinEvaluationResult^ EvaluateCheckin(
    CheckinEvaluationOptions options, 
    array<PendingChange^>^ allChanges, 
    array<PendingChange^>^ changes, 
    String^ comment, 
    CheckinNote^ checkinNote, 
    array<WorkItemCheckinInfo^>^ workItemChanges
)
member EvaluateCheckin : 
        options:CheckinEvaluationOptions * 
        allChanges:PendingChange[] * 
        changes:PendingChange[] * 
        comment:string * 
        checkinNote:CheckinNote * 
        workItemChanges:WorkItemCheckinInfo[] -> CheckinEvaluationResult
public function EvaluateCheckin(
    options : CheckinEvaluationOptions, 
    allChanges : PendingChange[], 
    changes : PendingChange[], 
    comment : String, 
    checkinNote : CheckinNote, 
    workItemChanges : WorkItemCheckinInfo[]
) : CheckinEvaluationResult
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.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.