TfsTeamService.ReadTeam Method (IdentityDescriptor, List<String>)
Read Team group by descriptor
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function ReadTeam ( _
descriptor As IdentityDescriptor, _
propertyNameFilters As List(Of String) _
) As TeamFoundationTeam
public TeamFoundationTeam ReadTeam(
IdentityDescriptor descriptor,
List<string> propertyNameFilters
)
public:
TeamFoundationTeam^ ReadTeam(
IdentityDescriptor^ descriptor,
List<String^>^ propertyNameFilters
)
member ReadTeam :
descriptor:IdentityDescriptor *
propertyNameFilters:List<string> -> TeamFoundationTeam
public function ReadTeam(
descriptor : IdentityDescriptor,
propertyNameFilters : List<String>
) : TeamFoundationTeam
Parameters
- descriptor
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
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
.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.