CatalogWebService.QueryResources Method

Returns the resource that is associated with the identifier.

Namespace:  Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryResources ( _
    resourceIdentifiers As Guid(), _
    queryOptions As Integer _
) As CatalogData
[WebMethodAttribute]
public CatalogData QueryResources(
    Guid[] resourceIdentifiers,
    int queryOptions
)
[WebMethodAttribute]
public:
CatalogData^ QueryResources(
    array<Guid>^ resourceIdentifiers, 
    int queryOptions
)
[<WebMethodAttribute>]
member QueryResources : 
        resourceIdentifiers:Guid[] * 
        queryOptions:int -> CatalogData
public function QueryResources(
    resourceIdentifiers : Guid[], 
    queryOptions : int
) : CatalogData

Parameters

  • resourceIdentifiers
    Type: array<System.Guid[]

    The identifier for the resource that is being search for.

  • queryOptions
    Type: System.Int32

    If ExpandDependencies is specified, the Dependencies property on nodes will contain the nodes they depend on. If IncludeParents is specified, the ParentNode property on the CatalogNode will contain the parent node. Leaving a given option will result in the returned catalog nodes to have null for that value. Extra data should only be retrieved if it is needed, because computing and sending information can be expensive.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.CatalogData
The resource with the specified identifier.

.NET Framework Security

See Also

Reference

CatalogWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace