共用方式為


TeamFoundationConnectedServicesService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationConnectedServicesService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationStrongBoxService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationIdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSecurityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationEventService))> _
<TeamFoundationServiceDependency(GetType(CommonStructureService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
Public NotInheritable Class TeamFoundationConnectedServicesService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationStrongBoxService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationEventService))]
[TeamFoundationServiceDependency(typeof(CommonStructureService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public sealed class TeamFoundationConnectedServicesService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationStrongBoxService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationEventService))]
[TeamFoundationServiceDependency(typeof(CommonStructureService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public ref class TeamFoundationConnectedServicesService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationStrongBoxService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationEventService))>]
[<TeamFoundationServiceDependency(typeof(CommonStructureService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
type TeamFoundationConnectedServicesService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationConnectedServicesService implements ITeamFoundationService

The TeamFoundationConnectedServicesService type exposes the following members.

Methods

  Name Description
Public method CreateConnectedService Create a new connected service associated with this project.
Public method DeleteConnectedService Deletes the associated connected service.
Public method DoesConnectedServiceExist Checks if a connected service exists anywhere in the collection, if user has full permissions in specified project.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetConnectedService Gets all info (including secret) for one connected service.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method QueryConnectedServices Queries the connected services and returns a list of all connected services metadata (non-secret) associated with this project.
Public method ServiceEnd
Public method ServiceStart
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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