共用方式為


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

Return Value

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

.NET Framework Security

See Also

Reference

ITeamFoundationTeamService Interface

QueryTeams Overload

Microsoft.TeamFoundation.Server.Core Namespace