This documentation is archived and is not being maintained.

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

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,
	string[] itemPropertyFilters


Type: System.String

the shelveset name (may be null)

Type: System.String

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

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

the items

Type: System.Boolean

If true, the server will include the information needed 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[]

List of property names to retrieve for the PendingChanges.

Return Value

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