获取与指定的标记和标识描述符的 AccessControlList 对象。
命名空间: Microsoft.TeamFoundation.Framework.Client
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Public MustOverride Function QueryAccessControlLists ( _
token As String, _
descriptors As IEnumerable(Of IdentityDescriptor), _
includeExtendedInfo As Boolean, _
recurse As Boolean _
) As Collection(Of AccessControlList)
public abstract Collection<AccessControlList> QueryAccessControlLists(
string token,
IEnumerable<IdentityDescriptor> descriptors,
bool includeExtendedInfo,
bool recurse
)
参数
- token
类型:System.String
AccessControlList 的标记可以查询权限。
- descriptors
类型:System.Collections.Generic.IEnumerable<IdentityDescriptor>
标识说明符可以查询访问控件。
- includeExtendedInfo
类型:System.Boolean
包含扩展的信息 True。排除扩展的信息的 False。
- recurse
类型:System.Boolean
递归查询指定的标记的子对象的 True。
返回值
类型:System.Collections.ObjectModel.Collection<AccessControlList>
与指定的标记和标识描述符的AccessControlList 对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。