Reference for Team Foundation Server SDK
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)
Visual Basic (Declaration)
Public Function QueryShelvesets ( _
shelvesetName As String, _
shelvesetOwner As String _
) As Shelveset()
Dim instance As VersionControlServer
Dim shelvesetName As String
Dim shelvesetOwner As String
Dim returnValue As Shelveset()
returnValue = instance.QueryShelvesets(shelvesetName, _
shelvesetOwner)
public Shelveset[] QueryShelvesets(
string shelvesetName,
string shelvesetOwner
)
public:
array<Shelveset^>^ QueryShelvesets(
String^ shelvesetName,
String^ shelvesetOwner
)
public function QueryShelvesets(
shelvesetName : String,
shelvesetOwner : String
) : Shelveset[]
Parameters
- shelvesetName
- Type: System..::.String
The name of the shelveset that you want to get. Pass null to match all shelvesets regardless of the name.
- shelvesetOwner
- Type: System..::.String
The owner of the shelvesets that you want to retreive. Pass null to match all shelvesets regardless of owner.
Reference