CatalogWebService.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.Framework.Server.WebServices
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryResourceTypes ( _
    resourceTypeIdentifiers As Guid() _
) As List(Of CatalogResourceType)
[WebMethodAttribute]
public List<CatalogResourceType> QueryResourceTypes(
    Guid[] resourceTypeIdentifiers
)
[WebMethodAttribute]
public:
List<CatalogResourceType^>^ QueryResourceTypes(
    array<Guid>^ resourceTypeIdentifiers
)
[<WebMethodAttribute>]
member QueryResourceTypes : 
        resourceTypeIdentifiers:Guid[] -> List<CatalogResourceType> 
public function QueryResourceTypes(
    resourceTypeIdentifiers : Guid[]
) : List<CatalogResourceType>

Parameters

  • resourceTypeIdentifiers
    Type: array<System.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

CatalogWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace