共用方式為


TeamFoundationTeamService.QueryTeams 方法 (TeamFoundationRequestContext, IdentityDescriptor)

查詢任何 Team 群組特定使用者為成員。

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Public Function QueryTeams ( _
    requestContext As TeamFoundationRequestContext, _
    descriptor As IdentityDescriptor _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor descriptor
)

參數

傳回值

類型:System.Collections.Generic.IEnumerable<TeamFoundationTeam>
傳回 IEnumerable<T>

實作

ITeamFoundationTeamService.QueryTeams(TeamFoundationRequestContext, IdentityDescriptor)

.NET Framework 安全性

請參閱

參考

TeamFoundationTeamService 類別

QueryTeams 多載

Microsoft.TeamFoundation.Server.Core 命名空間