VersionControlServer.QueryShelvedChanges Method (Shelveset)

Shelving enables you to take a batch of pending changes and set it aside as a named shelveset. The changes in a shelveset can be restored later into your workspace or into another user's workspace. This function gets all the changes in the specified shelveset, but download information is not included. Without download information the initial query is faster, but if you want to download files, you should use the overload method that will allow you to get download information with the returned items.

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

public PendingSet[] QueryShelvedChanges(
	Shelveset shelveset


Type: Microsoft.TeamFoundation.VersionControl.Client.Shelveset

The Shelveset that you want to query.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
A PendingSet is a group of pending changes associated with a particular user and workspace. The returned array will contain at most one PendingSet; however, this set may contain multiple pending changes.

Community Additions