Freigeben über


TeamFoundationTeamService.QueryTeams-Methode (TeamFoundationRequestContext, IdentityDescriptor)

Fragt alle Teamgruppen ab, ob spezifischer Benutzer Mitglied von ist.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

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

Parameter

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<TeamFoundationTeam>
Gibt IEnumerable<T> zurück.

Implementiert

ITeamFoundationTeamService.QueryTeams(TeamFoundationRequestContext, IdentityDescriptor)

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationTeamService Klasse

QueryTeams-Überladung

Microsoft.TeamFoundation.Server.Core-Namespace