列出在指定范围内的所有 TFS 应用程序组。
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Function ListApplicationGroups ( _
requestContext As TeamFoundationRequestContext, _
scope As String, _
readOptions As ReadIdentityOptions, _
propertyNameFilters As IEnumerable(Of String), _
propertyScope As IdentityPropertyScope _
) As TeamFoundationIdentity()
public TeamFoundationIdentity[] ListApplicationGroups(
TeamFoundationRequestContext requestContext,
string scope,
ReadIdentityOptions readOptions,
IEnumerable<string> propertyNameFilters,
IdentityPropertyScope propertyScope
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
此请求的上下文。
- scope
类型:System.String
- readOptions
类型:Microsoft.TeamFoundation.Framework.Common.ReadIdentityOptions
readOptions。
- propertyNameFilters
类型:System.Collections.Generic.IEnumerable<String>
仅在需要时读取选项包括扩展的属性,请参阅 Prpoperty 服务 API。可以为空否则。
- propertyScope
类型:Microsoft.TeamFoundation.Framework.Common.IdentityPropertyScope
返回值
类型:array<Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity[]
应用程序组以数组形式的标识。
实现
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。