Поделиться через


TfsTeamService.QueryTeams Method (IdentityDescriptor)

Query all Team groups that given user is a member of.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function QueryTeams ( _
    descriptor As IdentityDescriptor _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
    IdentityDescriptor descriptor
)
public:
IEnumerable<TeamFoundationTeam^>^ QueryTeams(
    IdentityDescriptor^ descriptor
)
member QueryTeams : 
        descriptor:IdentityDescriptor -> IEnumerable<TeamFoundationTeam> 
public function QueryTeams(
    descriptor : IdentityDescriptor
) : IEnumerable<TeamFoundationTeam>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<TeamFoundationTeam>
Returns IEnumerable<T>.

.NET Framework Security

See Also

Reference

TfsTeamService Class

QueryTeams Overload

Microsoft.TeamFoundation.Client Namespace