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


TfsTeamService.QueryTeams Method (IdentityDescriptor, List<String>)

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, _
    propertyNameFilters As List(Of String) _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
    IdentityDescriptor descriptor,
    List<string> propertyNameFilters
)
public:
IEnumerable<TeamFoundationTeam^>^ QueryTeams(
    IdentityDescriptor^ descriptor, 
    List<String^>^ propertyNameFilters
)
member QueryTeams : 
        descriptor:IdentityDescriptor * 
        propertyNameFilters:List<string> -> IEnumerable<TeamFoundationTeam> 
public function QueryTeams(
    descriptor : IdentityDescriptor, 
    propertyNameFilters : List<String>
) : 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