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


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

  • resourceTypeIdentifier
    Type: System.Guid

    Identifier 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

See Also

Reference

TeamFoundationCatalogService Class

Microsoft.TeamFoundation.Server.Core Namespace