Export (0) Print
Expand All

VersionControlServer.QueryPendingSets Method (ItemSpec[], String, String, Boolean)

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(
	ItemSpec[] itemSpecs,
	string queryWorkspaceName,
	string queryUserName,
	bool includeDownloadInfo
)

Parameters

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

The items that you want to get.

queryWorkspaceName
Type: System.String

The workspace name that may be null.

queryUserName
Type: System.String

The user name that may be null. queryUserName is the workspace owner if the workspace name is not null.

includeDownloadInfo
Type: System.Boolean

true to tell the server to include the information that is required to download the files.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of PendingSet objects that contain the pending changes for the server items.

Only set includeDownloadInfo to true if you want to download the files by using the returned objects. The call will be faster and require less bandwidth when this parameter is set to false. The overloaded methods set includeDownloadInfo to false.

Community Additions

ADD
Show:
© 2014 Microsoft