Delen via


CatalogWebService.QueryDependents Method

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

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryDependents ( _
    path As String, _
    queryOptions As Integer _
) As CatalogData
[WebMethodAttribute]
public CatalogData QueryDependents(
    string path,
    int queryOptions
)
[WebMethodAttribute]
public:
CatalogData^ QueryDependents(
    String^ path, 
    int queryOptions
)
[<WebMethodAttribute>]
member QueryDependents : 
        path:string * 
        queryOptions:int -> CatalogData
public function QueryDependents(
    path : String, 
    queryOptions : int
) : CatalogData

Parameters

  • path
    Type: System.String

    The path whose dependents are being queried.

  • queryOptions
    Type: System.Int32

    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.CatalogData
All of the nodes that depend on the nodes existence.

.NET Framework Security

See Also

Reference

CatalogWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace