Share via


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

Checks a set of pending changes for checkin conflicts.

This should be called as a preliminary check at the start 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 wildcard characters.

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() _
) As List(Of Failure)
public List<Failure> CheckPendingChanges(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName,
    string[] serverItems
)
public:
List<Failure^>^ CheckPendingChanges(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName, 
    array<String^>^ serverItems
)
member CheckPendingChanges : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string * 
        serverItems:string[] -> List<Failure> 
public function CheckPendingChanges(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String, 
    serverItems : String[]
) : List<Failure>

Parameters

  • workspaceName
    Type: System.String

    Name of workspace that contains 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