共用方式為


ITeamFoundationTeamService Interface

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

Syntax

'Declaration
<DefaultServiceImplementationAttribute(GetType(TeamFoundationTeamService))> _
Public Interface ITeamFoundationTeamService _
    Inherits ITeamFoundationService
[DefaultServiceImplementationAttribute(typeof(TeamFoundationTeamService))]
public interface ITeamFoundationTeamService : ITeamFoundationService
[DefaultServiceImplementationAttribute(typeof(TeamFoundationTeamService))]
public interface class ITeamFoundationTeamService : ITeamFoundationService
[<DefaultServiceImplementationAttribute(typeof(TeamFoundationTeamService))>]
type ITeamFoundationTeamService =  
    interface 
        interface ITeamFoundationService 
    end
public interface ITeamFoundationTeamService extends ITeamFoundationService

The ITeamFoundationTeamService type exposes the following members.

Methods

  Name Description
Public method CheckTeamName
Public method CreateTeam Creates a Team on server with optional properties.
Public method GetDefaultTeam Gets default team for the project.
Public method GetDefaultTeamId Returns default team ID for the project.
Public method GetTeamAdmins Gets all the identities that are administrators of the give Team group identity.
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
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 ServiceEnd is called when the Host is being Shutdown and this service should free all resources it is holding onto. (Inherited from ITeamFoundationService.)
Public method ServiceStart ServiceStart is called when the service is initialized. If the service is intialized asynchronously it must implement Service_Ready which is used to determine when the service is ready for users to access it. (Inherited from ITeamFoundationService.)
Public method SetDefaultTeam Sets default team for the project.
Public method SetDefaultTeamId Sets default team for the project.
Public method UpdateTeam Updates underlying identity properties.

Top

See Also

Reference

Microsoft.TeamFoundation.Server.Core Namespace