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
)

Parameters

items
Type: System.String[]

the paths to query for pending changes

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

Recursion level for querying pending changes

queryWorkspaceName
Type: System.String

the workspace name (may be null)

queryUserName
Type: System.String

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

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)

itemPropertyFilters
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

Show: