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
projectId
Type: System.StringProject Uri (scope id)
Return Value
Type: System.Collections.Generic.IEnumerable<TeamFoundationTeam>
Returns IEnumerable<T>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.