TfsTeamService.QueryTeams Method (String)

Query all Team groups in given project.

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

Syntax

'Declaration
Public Function QueryTeams ( _
    projectId As String _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
    string projectId
)
public:
IEnumerable<TeamFoundationTeam^>^ QueryTeams(
    String^ projectId
)
member QueryTeams : 
        projectId:string -> IEnumerable<TeamFoundationTeam> 
public function QueryTeams(
    projectId : 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