VersionControlServer.GetPendingChange Method (Int32)

When a user adds, deletes, edits, branches, or merges a file, these changes are made in their workspace only. The changes are pending until the user checks them into Team Foundation Server. This function gets information about the pending changes for one file or folder, but download information is not included. Without download information the function call is faster, but if you want to download files, you should use the overload method that will allow you to get download information with the returned items.

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

public PendingChange GetPendingChange(
	int pendingChangeId


Type: System.Int32

ID of the pending change that you want to get.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingChange
Returns the PendingChange if one is found that matches the ID, otherwise it is null.

Community Additions