TeamFoundationVersionControlService.QueryShelvesets Method (TeamFoundationRequestContext, String, 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 _
) As List(Of Shelveset)
public List<Shelveset> QueryShelvesets(
TeamFoundationRequestContext requestContext,
string shelvesetName,
string ownerName
)
public:
List<Shelveset^>^ QueryShelvesets(
TeamFoundationRequestContext^ requestContext,
String^ shelvesetName,
String^ ownerName
)
member QueryShelvesets :
requestContext:TeamFoundationRequestContext *
shelvesetName:string *
ownerName:string -> List<Shelveset>
public function QueryShelvesets(
requestContext : TeamFoundationRequestContext,
shelvesetName : String,
ownerName : String
) : List<Shelveset>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
shelvesetName
Type: System.StringName of shelveset or null to find any.
ownerName
Type: System.StringShelveset owner or null to find any.
Return Value
Type: System.Collections.Generic.List<Shelveset>
Shelveset metadata.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.