ICatalogService.QueryResourcesByType Method
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)
Syntax
'Declaration
Function QueryResourcesByType ( _
resourceTypeIdentifiers As IEnumerable(Of Guid), _
queryOptions As CatalogQueryOptions _
) As ReadOnlyCollection(Of CatalogResource)
ReadOnlyCollection<CatalogResource> QueryResourcesByType(
IEnumerable<Guid> resourceTypeIdentifiers,
CatalogQueryOptions queryOptions
)
ReadOnlyCollection<CatalogResource^>^ QueryResourcesByType(
IEnumerable<Guid>^ resourceTypeIdentifiers,
CatalogQueryOptions queryOptions
)
abstract QueryResourcesByType :
resourceTypeIdentifiers:IEnumerable<Guid> *
queryOptions:CatalogQueryOptions -> ReadOnlyCollection<CatalogResource>
function QueryResourcesByType(
resourceTypeIdentifiers : IEnumerable<Guid>,
queryOptions : CatalogQueryOptions
) : ReadOnlyCollection<CatalogResource>
Parameters
- resourceTypeIdentifiers
Type: System.Collections.Generic.IEnumerable<Guid>
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.ObjectModel.ReadOnlyCollection<CatalogResource>
.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.