Share via


TfsTeamService.ReadTeam Method (String, String, List<String>)

Read Team group by name in given project

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

Syntax

'Declaration
Public Function ReadTeam ( _
    projectId As String, _
    teamName As String, _
    propertyNameFilters As List(Of String) _
) As TeamFoundationTeam
public TeamFoundationTeam ReadTeam(
    string projectId,
    string teamName,
    List<string> propertyNameFilters
)
public:
TeamFoundationTeam^ ReadTeam(
    String^ projectId, 
    String^ teamName, 
    List<String^>^ propertyNameFilters
)
member ReadTeam : 
        projectId:string * 
        teamName:string * 
        propertyNameFilters:List<string> -> TeamFoundationTeam
public function ReadTeam(
    projectId : String, 
    teamName : String, 
    propertyNameFilters : List<String>
) : TeamFoundationTeam

Parameters

Return Value

Type: Microsoft.TeamFoundation.Client.TeamFoundationTeam
Team object if group exists and is a team, else null

.NET Framework Security

See Also

Reference

TfsTeamService Class

ReadTeam Overload

Microsoft.TeamFoundation.Client Namespace