ITeamFoundationTeamService.QueryTeams Method (TeamFoundationRequestContext, String)
Queries all Team groups in given project.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Function QueryTeams ( _
requestContext As TeamFoundationRequestContext, _
projectUri As String _
) As IEnumerable(Of TeamFoundationTeam)
IEnumerable<TeamFoundationTeam> QueryTeams(
TeamFoundationRequestContext requestContext,
string projectUri
)
IEnumerable<TeamFoundationTeam^>^ QueryTeams(
TeamFoundationRequestContext^ requestContext,
String^ projectUri
)
abstract QueryTeams :
requestContext:TeamFoundationRequestContext *
projectUri:string -> IEnumerable<TeamFoundationTeam>
function QueryTeams(
requestContext : TeamFoundationRequestContext,
projectUri : String
) : IEnumerable<TeamFoundationTeam>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextProject URI (scope ID).
- projectUri
Type: System.String
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.