Export (0) Print
Expand All

CatalogNode.QueryParents Method

Returns the parents of this node. This function will call the web service.

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

public ReadOnlyCollection<CatalogNode> QueryParents(
	IEnumerable<Guid> resourceTypeFilters,
	bool recurseToRoot,
	CatalogQueryOptions queryOptions
)

Parameters

resourceTypeFilters
Type: System.Collections.Generic.IEnumerable<Guid>

The list of types that this query should include. If this is null or empty, all types will be included.

recurseToRoot
Type: System.Boolean

If true, this query will retrieve all parent nodes until the root. If it is false, it will only retrieve the direct parent of this node.

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

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<CatalogNode>
The parent nodes of this node.

Show:
© 2015 Microsoft