Delen via


TeamFoundationVersionControlService.QueryShelvesets Method (TeamFoundationRequestContext, String, String, array<String )

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
Public Function QueryShelvesets ( _
    requestContext As TeamFoundationRequestContext, _
    shelvesetName As String, _
    ownerName As String, _
    propertyNameFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryShelvesets(
    TeamFoundationRequestContext requestContext,
    string shelvesetName,
    string ownerName,
    string[] propertyNameFilters
)
public:
TeamFoundationDataReader^ QueryShelvesets(
    TeamFoundationRequestContext^ requestContext, 
    String^ shelvesetName, 
    String^ ownerName, 
    array<String^>^ propertyNameFilters
)
member QueryShelvesets : 
        requestContext:TeamFoundationRequestContext * 
        shelvesetName:string * 
        ownerName:string * 
        propertyNameFilters:string[] -> TeamFoundationDataReader
public function QueryShelvesets(
    requestContext : TeamFoundationRequestContext, 
    shelvesetName : String, 
    ownerName : String, 
    propertyNameFilters : String[]
) : TeamFoundationDataReader

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[]

    Names of the properties to return.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
Shelveset metadata.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

QueryShelvesets Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace