ICatalogService.QueryParents 方法
命名空间: Microsoft.TeamFoundation.Framework.Client
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Function QueryParents ( _
resourceIdentifier As Guid, _
pathFilters As IEnumerable(Of String), _
resourceTypeFilters As IEnumerable(Of Guid), _
recurseToRoot As Boolean, _
queryOptions As CatalogQueryOptions _
) As ReadOnlyCollection(Of CatalogNode)
ReadOnlyCollection<CatalogNode> QueryParents(
Guid resourceIdentifier,
IEnumerable<string> pathFilters,
IEnumerable<Guid> resourceTypeFilters,
bool recurseToRoot,
CatalogQueryOptions queryOptions
)
参数
- resourceIdentifier
类型:System.Guid
- pathFilters
类型:System.Collections.Generic.IEnumerable<String>
- resourceTypeFilters
类型:System.Collections.Generic.IEnumerable<Guid>
- recurseToRoot
类型:System.Boolean
- queryOptions
类型:Microsoft.TeamFoundation.Framework.Common.CatalogQueryOptions
返回值
类型:System.Collections.ObjectModel.ReadOnlyCollection<CatalogNode>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。