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
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context. 
- workspaceName 
 Type: System.String- Name of workspace containing changes to submit. 
- ownerName 
 Type: System.String- Owner of the workspace. 
- serverItems 
 Type: array<System.String[]- List of items to check. 
- maxClientPathLength 
 Type: Microsoft.TeamFoundation.VersionControl.Common.PathLength- The maximum client supported server path length. 
Return Value
Type: System.Collections.Generic.List<Failure>
Array of conflicts represented as Failure objects.
.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.