TfsTeamService.QueryTeams Method (IdentityDescriptor, List<String>)
Query all Team groups that given user is a member of.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function QueryTeams ( _
descriptor As IdentityDescriptor, _
propertyNameFilters As List(Of String) _
) As IEnumerable(Of TeamFoundationTeam)
public IEnumerable<TeamFoundationTeam> QueryTeams(
IdentityDescriptor descriptor,
List<string> propertyNameFilters
)
public:
IEnumerable<TeamFoundationTeam^>^ QueryTeams(
IdentityDescriptor^ descriptor,
List<String^>^ propertyNameFilters
)
member QueryTeams :
descriptor:IdentityDescriptor *
propertyNameFilters:List<string> -> IEnumerable<TeamFoundationTeam>
public function QueryTeams(
descriptor : IdentityDescriptor,
propertyNameFilters : List<String>
) : IEnumerable<TeamFoundationTeam>
Parameters
- descriptor
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
- propertyNameFilters
Type: System.Collections.Generic.List<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.