Delen via


TeamProjectCollectionService.QueryCollectionCatalogNode Method

Returns the node for the collection resource that exist in the organizational tree anywhere below the application instance node.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function QueryCollectionCatalogNode ( _
    requestContext As TeamFoundationRequestContext, _
    collectionId As Guid, _
    queryOptions As CatalogQueryOptions _
) As CatalogNode
public CatalogNode QueryCollectionCatalogNode(
    TeamFoundationRequestContext requestContext,
    Guid collectionId,
    CatalogQueryOptions queryOptions
)
public:
CatalogNode^ QueryCollectionCatalogNode(
    TeamFoundationRequestContext^ requestContext, 
    Guid collectionId, 
    CatalogQueryOptions queryOptions
)
member QueryCollectionCatalogNode : 
        requestContext:TeamFoundationRequestContext * 
        collectionId:Guid * 
        queryOptions:CatalogQueryOptions -> CatalogNode
public function QueryCollectionCatalogNode(
    requestContext : TeamFoundationRequestContext, 
    collectionId : Guid, 
    queryOptions : CatalogQueryOptions
) : CatalogNode

Parameters

  • queryOptions
    Type: Microsoft.TeamFoundation.Framework.Common.CatalogQueryOptions

    If ExpandDependencies is specified, the Dependencies property on nodes will contain the nodes they are dependent 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 since computing and sending information can be expensive.

Return Value

Type: Microsoft.TeamFoundation.Server.Core.CatalogNode

Remarks

If we ever allow Project Groups again, this should return children of those as well.

.NET Framework Security

See Also

Reference

TeamProjectCollectionService Class

Microsoft.TeamFoundation.Server.Core Namespace