This documentation is archived and is not being maintained.

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)

public:
TeamFoundationTeam^ ReadTeam(
	String^ projectId, 
	String^ teamName, 
	List<String^>^ propertyNameFilters
)

Parameters

projectId
Type: System::String

Project Uri (scope id)

teamName
Type: System::String
propertyNameFilters
Type: System.Collections.Generic::List<String>

specifies extended properties to read, refer Prpoperty Service API. Set to null to read all properties.

Return Value

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

Show: