TeamFoundationCatalogService.QueryResourceTypes Method
Returns the resource types for all of the specified identifiers. If null or an empty list is passed in, all resource types will be returned.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueryResourceTypes ( _
requestContext As TeamFoundationRequestContext, _
resourceTypeIdentifiers As IEnumerable(Of Guid) _
) As List(Of CatalogResourceType)
public List<CatalogResourceType> QueryResourceTypes(
TeamFoundationRequestContext requestContext,
IEnumerable<Guid> resourceTypeIdentifiers
)
public:
List<CatalogResourceType^>^ QueryResourceTypes(
TeamFoundationRequestContext^ requestContext,
IEnumerable<Guid>^ resourceTypeIdentifiers
)
member QueryResourceTypes :
requestContext:TeamFoundationRequestContext *
resourceTypeIdentifiers:IEnumerable<Guid> -> List<CatalogResourceType>
public function QueryResourceTypes(
requestContext : TeamFoundationRequestContext,
resourceTypeIdentifiers : IEnumerable<Guid>
) : List<CatalogResourceType>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for this request.
resourceTypeIdentifiers
Type: System.Collections.Generic.IEnumerable<Guid>Identifiers for the resource types that should be returned. If this has a value of null or empty, all resource types will be returned.
Return Value
Type: System.Collections.Generic.List<CatalogResourceType>
Resource types for the requested identifiers.
.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.