TfsTeamService.QueryTeams 方法 (IdentityDescriptor, List<String>)
查询所有团队组特定用户是的成员。
命名空间: Microsoft.TeamFoundation.Client
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Public Function QueryTeams ( _
descriptor As IdentityDescriptor, _
propertyNameFilters As List(Of String) _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
IdentityDescriptor descriptor,
List<string> propertyNameFilters
)
参数
- propertyNameFilters
类型:System.Collections.Generic.List<String>
返回值
类型:System.Collections.Generic.IEnumerable<TeamFoundationTeam>
返回 IEnumerable<T>。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。