Classe DatabaseMaintenanceAdapter
The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Smo.DatabaseAdapterBase
Microsoft.SqlServer.Management.Smo.DatabaseAdapter
Microsoft.SqlServer.Management.Smo.DatabaseMaintenanceAdapter
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Class DatabaseMaintenanceAdapter _
Inherits DatabaseAdapter _
Implements IDatabaseMaintenanceFacet, IDmfFacet
'Utilisation
Dim instance As DatabaseMaintenanceAdapter
public class DatabaseMaintenanceAdapter : DatabaseAdapter,
IDatabaseMaintenanceFacet, IDmfFacet
public ref class DatabaseMaintenanceAdapter : public DatabaseAdapter,
IDatabaseMaintenanceFacet, IDmfFacet
type DatabaseMaintenanceAdapter =
class
inherit DatabaseAdapter
interface IDatabaseMaintenanceFacet
interface IDmfFacet
end
public class DatabaseMaintenanceAdapter extends DatabaseAdapter implements IDatabaseMaintenanceFacet, IDmfFacet
Le type DatabaseMaintenanceAdapter expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
DatabaseMaintenanceAdapter | The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
AutoClose | Gets or sets a Boolean value (hérité de DatabaseAdapterBase.) | |
AutoShrink | Gets or sets a Boolean value (hérité de DatabaseAdapterBase.) | |
DataAndBackupOnSeparateLogicalVolumes | Returns a Boolean value that specifies whether the data and backup files are on separate logical volumes. | |
Database | Gets the database that is associated with the AdapterBase object. (hérité de DatabaseAdapterBase.) | |
IsSystemObject | Gets the Boolean value that specifies whether the adapter base is a system object or not. (hérité de DatabaseAdapterBase.) | |
LastBackupDate | Gets a Datetime object that indicates the time of the last backup. (hérité de DatabaseAdapterBase.) | |
LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. (hérité de DatabaseAdapterBase.) | |
PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (hérité de DatabaseAdapterBase.) | |
ReadOnly | Gets or sets a Boolean value. (hérité de DatabaseAdapterBase.) | |
RecoveryModel | Gets or sets the database adapter recovery model. (hérité de DatabaseAdapterBase.) | |
Size | Gets the database size in megabytes (MB). (hérité de DatabaseAdapterBase.) | |
Status | Gets the database status. (hérité de DatabaseAdapterBase.) | |
TargetRecoveryTime | Returns target recovery time setting of a database. (hérité de DatabaseAdapterBase.) | |
Trustworthy | Gets or sets a Boolean property for the database adapter base. (hérité de DatabaseAdapterBase.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Alter | Alters database adapter base properties. (hérité de DatabaseAdapterBase.) | |
DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. (hérité de DatabaseAdapterBase.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
GetVolume | Returns the volume name as it appears in the PATH variable. (hérité de DatabaseAdapterBase.) | |
MemberwiseClone | (hérité de Object.) | |
Refresh | Refreshes the database adapter. (hérité de DatabaseAdapterBase.) | |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.