This documentation is archived and is not being maintained.

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

Gets the shelved changes in the specified Shelveset.

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 shelveset owner. May be null.

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

Gets the shelved changes in the specified Shelveset.

Type: System.Boolean

True to get the information needed to download files. Specify false to save bandwidth if not necessary.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of PendingSet objects with the pending changes for the specified Shelveset.

Only set includeDownloadInfo to true if you are going to be downloading the files using the objects that are returned. This method call will be faster and require less bandwidth when includeDownloadInfo is false (default for overloads that do not specify it).