Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICatalogService.QueryResources Method (IEnumerable<Guid>, IEnumerable<KeyValuePair<String, String>>, CatalogQueryOptions)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retuns all of the catalog resources of the prvodied type. If Guid.Empty is passed in, all resources are returned.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
ReadOnlyCollection<CatalogResource> QueryResources(
	IEnumerable<Guid> resourceTypeIdentifiers,
	IEnumerable<KeyValuePair<string, string>> propertyFilters,
	CatalogQueryOptions queryOptions


Type: System.Collections.Generic.IEnumerable<Guid>
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>

The set of property filters to apply to the resource found. Matches will be based on both the key and the value of the property matching. If the value of a certain filter is null or empty then it will be assumed that all resource with the supplied property should be returned. A match consists of a resource that matches all of the propertyFilters

Type: 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.