Workspace.GetPendingChanges Method (ItemSpec[], Boolean, Int32, String, Boolean, String[])

Gets all of the pending changes for these items and potentially subitems in this workspace.

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

public PendingChange[] GetPendingChanges(
	ItemSpec[] itemSpecs,
	bool includeDownloadInfo,
	int pageSize,
	string lastChange,
	bool includeMergeSourceInfo,
	string[] itemPropertyFilters


Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]

A list of item specifications for the items being queried

Type: System.Boolean

If true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files by using the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it)

Type: System.Int32

The maximum number of pending changes to return in this page. Fewer pending changes could be returned if there are not enough pending changes for a full page.

Type: System.String

The server path of the last pending change in the previous page. For the first page this value should be null. For subsequent pages, the server path of the last pending change in the page should be used.

Type: System.Boolean

Whether to include source information about renames / merges

Type: System.String[]

List of property names to return on the pending change object if they exist.

Return Value

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