Share via


TeamFoundationCatalogService.QueryCatalogDependents Method

Returns all of the nodes that depend on the nodes existence.

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

Syntax

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

Parameters

  • path
    Type: System.String

    The path whose dependents are being queried.

  • 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: System.Collections.Generic.List<CatalogNode>
All of the nodes that depend on the nodes existence.

.NET Framework Security

See Also

Reference

TeamFoundationCatalogService Class

Microsoft.TeamFoundation.Server.Core Namespace