TeamProjectCollectionService.QueryCollectionCatalogResources Method
Returns all of the catalog resources that are of the project collection type.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueryCollectionCatalogResources ( _
requestContext As TeamFoundationRequestContext, _
queryOptions As CatalogQueryOptions _
) As List(Of CatalogResource)
public List<CatalogResource> QueryCollectionCatalogResources(
TeamFoundationRequestContext requestContext,
CatalogQueryOptions queryOptions
)
public:
List<CatalogResource^>^ QueryCollectionCatalogResources(
TeamFoundationRequestContext^ requestContext,
CatalogQueryOptions queryOptions
)
member QueryCollectionCatalogResources :
requestContext:TeamFoundationRequestContext *
queryOptions:CatalogQueryOptions -> List<CatalogResource>
public function QueryCollectionCatalogResources(
requestContext : TeamFoundationRequestContext,
queryOptions : CatalogQueryOptions
) : List<CatalogResource>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
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<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.