VersionControlServer.QueryShelvesets Method

Queries an array of Shelveset objects with the specified name and/or owner.

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

Syntax

'Declaration
Public Function QueryShelvesets ( _
    shelvesetName As String, _
    shelvesetOwner As String _
) As Shelveset()
public Shelveset[] QueryShelvesets(
    string shelvesetName,
    string shelvesetOwner
)
public:
array<Shelveset^>^ QueryShelvesets(
    String^ shelvesetName, 
    String^ shelvesetOwner
)
member QueryShelvesets : 
        shelvesetName:string * 
        shelvesetOwner:string -> Shelveset[] 
public function QueryShelvesets(
    shelvesetName : String, 
    shelvesetOwner : String
) : Shelveset[]

Parameters

  • shelvesetName
    Type: System.String
    The name of the shelveset to look for. Specify null to match all shelvesets regardless of name.
  • shelvesetOwner
    Type: System.String
    The owner of the shelvesets to look for. Specify null to match all shelvesets regardless of owner.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.Shelveset[]
An array of Shelveset objects matching the query.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace