This documentation is archived and is not being maintained.

VersionControlServer.GetPendingChange Method (Int32, Boolean)

Retrieves a pending change from the database, based on pending change ID.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public PendingChange GetPendingChange (
	int pendingChangeId,
	bool includeDownloadInfo
public PendingChange GetPendingChange (
	int pendingChangeId, 
	boolean includeDownloadInfo
public function GetPendingChange (
	pendingChangeId : int, 
	includeDownloadInfo : boolean
) : PendingChange



Pending change identifier.


true to tell the server to include the information that is required to download the files.

Return Value

Returns the PendingChange if one is found that matches the ID; otherwise a null reference (Nothing in Visual Basic).

Only set includeDownloadInfo to true if you will download the files by using the returned objects. The call will be faster and require less bandwidth when this parameter is false. The overloaded methods set includeDownloadInfo to false.