Workspace.QueryPendingSets Method (String[], RecursionType, String, String, Boolean, String[])

Gets the pending changes for the specified query.

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

public PendingSet[] QueryPendingSets(
	string[] items,
	RecursionType recursion,
	string queryWorkspaceName,
	string queryUserName,
	bool includeDownloadInfo,
	string[] itemPropertyFilters


Type: System.String[]

the paths to query for pending changes

Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

Recursion level for querying pending changes

Type: System.String

the workspace name (may be null)

Type: System.String

the user name (may be null), which is the workspace owner if the workspace name is not null

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.String[]

A list of property names that indicate which item properties should be returned for these pending changes.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
an array of pending sets with the pending changes for the server items