TeamFoundationDatabaseManagementService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseManagementService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationCollationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationIdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationServicingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationJobService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
Public NotInheritable Class TeamFoundationDatabaseManagementService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationCollationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationServicingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationJobService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public sealed class TeamFoundationDatabaseManagementService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationCollationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationServicingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationJobService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public ref class TeamFoundationDatabaseManagementService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationCollationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationServicingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationJobService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
type TeamFoundationDatabaseManagementService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationDatabaseManagementService implements ITeamFoundationService

The TeamFoundationDatabaseManagementService type exposes the following members.

Methods

  Name Description
Public method AcquireDatabasePartition
Public method CopyDatabase(TeamFoundationRequestContext, Int32, String)
Public method CopyDatabase(TeamFoundationRequestContext, Int32, String, TimeSpan)
Public method CreateDatabase
Public method CreateDatabasePool Create a new database pool definition.
Public method CreateDatabaseUsersForServiceAccounts
Public method DeleteDatabasePool
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GenerateDatabaseName
Public method GetDatabase
Public method GetDatabasePool Gets specified database pool. DatabasePoolNotFoundException exception is thrown when the specified database pool not found.
Public method GetDatabasePoolsToGrow Returns all the databases that are under their CreateThreshold.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetNumberOfDatabases Get the number of databases that are registered to a pool.
Public method GetSplitDatabaseIssues
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IncrementTenantsPendingDelete
Public method PerformDatabaseSplitAnalysis Analyze the tenant usage of the given database and return a list of the tenant hostIds which should be split out based on the given method
Public method QueryDatabasePools Query the database pools.
Public method QueryDatabases(TeamFoundationRequestContext) Query all the databases managed by this service.
Public method QueryDatabases(TeamFoundationRequestContext, TeamFoundationDatabaseType)
Public method QueryDatabases(TeamFoundationRequestContext, String)
Public method QueryDatabaseUsage
Public method RegisterDatabase Register a new database with the DatabaseManagementService.
Public method ReleaseDatabasePartition
Public method RemoveDatabase Unregister a database from database management. Delete and Detach operations must call this method to remove a database from tbl_Database.
Public method SplitDatabase
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetDatabasePool Gets specified database pool. A return value indicates whether specified database pool exists.
Public method TryGetDatabaseProperties
Public method UpdateDatabasePool Update a pool definition.
Public method UpdateDatabaseProperties Update the service level of a database.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd End the service.
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Start the TeamFoundationDatabaseManagementService. This service can only be started at the deployment level service host.

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.Framework.Server Namespace