Delen via


VersionControlServer.QueryShelvesets Method (String, String, array<String )

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, _
    propertyNameFilters As String() _
) As Shelveset()
public Shelveset[] QueryShelvesets(
    string shelvesetName,
    string shelvesetOwner,
    string[] propertyNameFilters
)
public:
array<Shelveset^>^ QueryShelvesets(
    String^ shelvesetName, 
    String^ shelvesetOwner, 
    array<String^>^ propertyNameFilters
)
member QueryShelvesets : 
        shelvesetName:string * 
        shelvesetOwner:string * 
        propertyNameFilters:string[] -> Shelveset[] 
public function QueryShelvesets(
    shelvesetName : String, 
    shelvesetOwner : String, 
    propertyNameFilters : 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.

  • propertyNameFilters
    Type: array<System.String[]

    The item property filters.

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

QueryShelvesets Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace