GetPendingChanges Method (String, RecursionType, Boolean)

Workspace.GetPendingChanges Method (String, RecursionType, Boolean)

Gets the pending changes for this item and sub-items in this workspace.

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

public PendingChange[] GetPendingChanges(
	string item,
	RecursionType recursion,
	bool includeDownloadInfo


Type: System.String

The path, local or server, to the item that is being queried.

Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

A flag that specifies the type of recursion.

Type: System.Boolean

True to include the information that is required to download files; false not to download the additional information.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
The pending changes for the specified items in this workspace.

Set includeDownloadInfo to true only if you will download the files by using the information that is returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it).

© 2015 Microsoft