Export (0) Print
Expand All
Expand Minimize

VersionControlServer.QueryShelvesets Method

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 enables you to query for shelvesets.

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

public Shelveset[] QueryShelvesets(
	string shelvesetName,
	string shelvesetOwner


Type: System.String

The name of the shelveset that you want to get. Pass null to match all shelvesets regardless of the name.

Type: System.String

The owner of the shelvesets that you want to retreive. Pass null to match all shelvesets regardless of owner.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Shelveset[]
Returns an array of Shelveset objects that matches the query.

Community Additions

© 2015 Microsoft