Share via


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

  • 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

See Also

Reference

TeamFoundationCatalogService Class

Microsoft.TeamFoundation.Server.Core Namespace