TeamFoundationCatalogService.QueryResourceType Method
Returns the resource type for the specified identifier.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueryResourceType ( _
requestContext As TeamFoundationRequestContext, _
resourceTypeIdentifier As Guid _
) As CatalogResourceType
public CatalogResourceType QueryResourceType(
TeamFoundationRequestContext requestContext,
Guid resourceTypeIdentifier
)
public:
CatalogResourceType^ QueryResourceType(
TeamFoundationRequestContext^ requestContext,
Guid resourceTypeIdentifier
)
member QueryResourceType :
requestContext:TeamFoundationRequestContext *
resourceTypeIdentifier:Guid -> CatalogResourceType
public function QueryResourceType(
requestContext : TeamFoundationRequestContext,
resourceTypeIdentifier : Guid
) : CatalogResourceType
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for this request.
resourceTypeIdentifier
Type: System.GuidIdentifier for the resource type that should be returned. If this has a value of null or empty, all resource types will be returned.
Return Value
Type: Microsoft.TeamFoundation.Server.Core.CatalogResourceType
Resource type for the requested identifier.
.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.