Repository5.CheckPendingChanges Method
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
<WebMethodAttribute> _
Public Function CheckPendingChanges ( _
workspaceName As String, _
ownerName As String, _
serverItems As String(), _
maxClientPathLength As Integer _
) As List(Of Failure)
[WebMethodAttribute]
public List<Failure> CheckPendingChanges(
string workspaceName,
string ownerName,
string[] serverItems,
int maxClientPathLength
)
[WebMethodAttribute]
public:
List<Failure^>^ CheckPendingChanges(
String^ workspaceName,
String^ ownerName,
array<String^>^ serverItems,
int maxClientPathLength
)
[<WebMethodAttribute>]
member CheckPendingChanges :
workspaceName:string *
ownerName:string *
serverItems:string[] *
maxClientPathLength:int -> List<Failure>
public function CheckPendingChanges(
workspaceName : String,
ownerName : String,
serverItems : String[],
maxClientPathLength : int
) : List<Failure>
Parameters
workspaceName
Type: System.StringName of workspace containing changes to submit.
ownerName
Type: System.StringOwner of the workspace.
serverItems
Type: array<System.String[]List of items to check.
maxClientPathLength
Type: System.Int32The 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.