Partager via


TeamFoundationTeamService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationTeamService

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationIdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationCatalogService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
<TeamFoundationServiceDependency(GetType(CommonStructureService))> _
<TeamFoundationServiceDependency(GetType(SecurityService))> _
Public Class TeamFoundationTeamService _
    Implements ITeamFoundationTeamService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(CommonStructureService))]
[TeamFoundationServiceDependency(typeof(SecurityService))]
public class TeamFoundationTeamService : ITeamFoundationTeamService, 
    ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(CommonStructureService))]
[TeamFoundationServiceDependency(typeof(SecurityService))]
public ref class TeamFoundationTeamService : ITeamFoundationTeamService, 
    ITeamFoundationService
[<TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))>]
[<TeamFoundationServiceDependency(typeof(CommonStructureService))>]
[<TeamFoundationServiceDependency(typeof(SecurityService))>]
type TeamFoundationTeamService =  
    class 
        interface ITeamFoundationTeamService 
        interface ITeamFoundationService 
    end
public class TeamFoundationTeamService implements ITeamFoundationTeamService, ITeamFoundationService

The TeamFoundationTeamService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationTeamService

Top

Methods

  Name Description
Public method CheckTeamName
Public method CreateTeam Creates a Team on server with optional properties.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDefaultTeam Gets default team for the project.
Public method GetDefaultTeamId Returns default team id for the project.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetTeamAdmins
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasTeamPermission Determines whether or not a user has the specified permission on this team.
Public method IsDefaultTeam Checks to see if identity is a default team for project it is associated with.
Public method IsValidTeamName
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryTeams(TeamFoundationRequestContext, IdentityDescriptor) Queries all Team groups that given user is a member of.
Public method QueryTeams(TeamFoundationRequestContext, Dictionary<String, Guid>)
Public method QueryTeams(TeamFoundationRequestContext, String) Queries all Team groups in given project.
Public method ReadTeam(TeamFoundationRequestContext, IdentityDescriptor, IEnumerable<String>)
Public method ReadTeam(TeamFoundationRequestContext, Guid, IEnumerable<String>)
Public method ReadTeam(TeamFoundationRequestContext, String, String, IEnumerable<String>) Reads Team group by name in given project.
Public method ReadTeamMembers Gets team member identities.
Public method ReadTeams Reads Team groups by TeamFoundationId.
Public method ServiceEnd
Public method ServiceStart
Public method SetDefaultTeam Sets default team for the project.
Public method SetDefaultTeamId Sets default team for the project.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateTeam Updates underlying identity properties.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Server.Core Namespace