TeamProjectCollectionService.QueryCollectionCatalogNodes Method

Returns the nodes for the collection resources that are located in the organizational tree under the application instance node.

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

Syntax

'Declaration
Public Function QueryCollectionCatalogNodes ( _
    requestContext As TeamFoundationRequestContext, _
    queryOptions As CatalogQueryOptions _
) As List(Of CatalogNode)
public List<CatalogNode> QueryCollectionCatalogNodes(
    TeamFoundationRequestContext requestContext,
    CatalogQueryOptions queryOptions
)
public:
List<CatalogNode^>^ QueryCollectionCatalogNodes(
    TeamFoundationRequestContext^ requestContext, 
    CatalogQueryOptions queryOptions
)
member QueryCollectionCatalogNodes : 
        requestContext:TeamFoundationRequestContext * 
        queryOptions:CatalogQueryOptions -> List<CatalogNode> 
public function QueryCollectionCatalogNodes(
    requestContext : TeamFoundationRequestContext, 
    queryOptions : CatalogQueryOptions
) : List<CatalogNode>

Parameters

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

    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 having 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: System.Collections.Generic.List<CatalogNode>

Remarks

If we ever allow for Project Groups again, this should return children of those also.

.NET Framework Security

See Also

Reference

TeamProjectCollectionService Class

Microsoft.TeamFoundation.Framework.Server Namespace