Share via


TeamFoundationTeamService.QueryTeams Method (TeamFoundationRequestContext, IdentityDescriptor)

Namespace:  Microsoft.TeamFoundation.Framework.Server.Alm
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

TeamFoundationTeamService Class

QueryTeams Overload

Microsoft.TeamFoundation.Framework.Server.Alm Namespace