Workspace.QueryShelvedChanges Method (String, String, ItemSpec[], Boolean)

Gets the shelved changes for the specified query.

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

public PendingSet[] QueryShelvedChanges(
	string shelvesetName,
	string shelvesetOwner,
	ItemSpec[] itemSpecs,
	bool includeDownloadInfo


Type: System.String

The shelveset name. May be null.

Type: System.String

The user name. May be null.

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

The items for which to obtain shelved changes.

Type: System.Boolean

True to include the information that is required to download files. False not to include.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of pending sets with the pending changes for the shelved changes.

Set includeDownloadInfo to true only if you will use the information that is returned to download the files. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it)