TeamFoundationCatalogService.QueryNodes Method (TeamFoundationRequestContext, IEnumerable<String>, IEnumerable<Guid>, CatalogQueryOptions)
Returns the catalog nodes that exist below the parentPath and have a type that is listed in resourceTypeFilters.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueryNodes ( _
requestContext As TeamFoundationRequestContext, _
pathSpecs As IEnumerable(Of String), _
resourceTypeFilters As IEnumerable(Of Guid), _
queryOptions As CatalogQueryOptions _
) As List(Of CatalogNode)
public List<CatalogNode> QueryNodes(
TeamFoundationRequestContext requestContext,
IEnumerable<string> pathSpecs,
IEnumerable<Guid> resourceTypeFilters,
CatalogQueryOptions queryOptions
)
public:
List<CatalogNode^>^ QueryNodes(
TeamFoundationRequestContext^ requestContext,
IEnumerable<String^>^ pathSpecs,
IEnumerable<Guid>^ resourceTypeFilters,
CatalogQueryOptions queryOptions
)
member QueryNodes :
requestContext:TeamFoundationRequestContext *
pathSpecs:IEnumerable<string> *
resourceTypeFilters:IEnumerable<Guid> *
queryOptions:CatalogQueryOptions -> List<CatalogNode>
public function QueryNodes(
requestContext : TeamFoundationRequestContext,
pathSpecs : IEnumerable<String>,
resourceTypeFilters : IEnumerable<Guid>,
queryOptions : CatalogQueryOptions
) : List<CatalogNode>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for this request.
pathSpecs
Type: System.Collections.Generic.IEnumerable<String>The path of the element or elements that are being searched for. This path can contain the wildcards "*", "**" and "..." where "*" means one-level and "**" and "..." means any number of levels.
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.
queryOptions
Type: Microsoft.TeamFoundation.Framework.Common.CatalogQueryOptionsIf 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>
The catalog nodes that exist below the parentPath and have a type that is listed in resourceTypeFilters.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.