Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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
)

Parameters

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

A list of item specifications for the items being queried

includeDownloadInfo
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)

pageSize
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.

lastChange
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.

includeMergeSourceInfo
Type: System.Boolean

Whether to include source information about renames / merges

itemPropertyFilters
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.