Поделиться через


Repository4.QueryShelvesets Method

Lists the known shelvesets in the system. Returns shelveset metadata.

To retrieve the list of changes, use QueryPendingSets().

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

Syntax

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

Parameters

  • shelvesetName
    Type: System.String

    Name of shelveset or null to find any.

  • ownerName
    Type: System.String

    Shelveset owner or null to find any.

  • propertyNameFilters
    Type: array<System.String[]

    List of properties to return.

Return Value

Type: System.Collections.Generic.List<Shelveset>
Shelveset metadata.

.NET Framework Security

See Also

Reference

Repository4 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace