Delen via


TeamFoundationVersionControlService.CheckPendingChanges Method (TeamFoundationRequestContext, String, String, array<String , PathLength)

Checks a set of pending changes for checkin conflicts. This should be called as a preliminary check at the beginning of a checkin sequence. Any conflicts that exist at the point in time when the call was made will be returned to the client en masse. Checkin will repeat the same checks and if any conflicts have crept in since this call was made, it will fail. serverItems must contain at least one item and no wildcards.

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

Syntax

'Declaration
Public Function CheckPendingChanges ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    ownerName As String, _
    serverItems As String(), _
    maxClientPathLength As PathLength _
) As List(Of Failure)
public List<Failure> CheckPendingChanges(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName,
    string[] serverItems,
    PathLength maxClientPathLength
)
public:
List<Failure^>^ CheckPendingChanges(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName, 
    array<String^>^ serverItems, 
    PathLength maxClientPathLength
)
member CheckPendingChanges : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string * 
        serverItems:string[] * 
        maxClientPathLength:PathLength -> List<Failure> 
public function CheckPendingChanges(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String, 
    serverItems : String[], 
    maxClientPathLength : PathLength
) : List<Failure>

Parameters

  • workspaceName
    Type: System.String

    Name of workspace containing changes to submit.

  • serverItems
    Type: array<System.String[]

    List of items to check.

Return Value

Type: System.Collections.Generic.List<Failure>
Array of conflicts represented as Failure objects.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

CheckPendingChanges Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace