DatabaseMaintenanceAdapter Class
The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.
Inheritance Hierarchy
System.Object
  Microsoft.SqlServer.Management.Smo.DatabaseAdapterBase
    Microsoft.SqlServer.Management.Smo.DatabaseAdapter
      Microsoft.SqlServer.Management.Smo.DatabaseMaintenanceAdapter
Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Class DatabaseMaintenanceAdapter _
    Inherits DatabaseAdapter _
    Implements IDatabaseMaintenanceFacet, IDmfFacet
'Usage
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
The DatabaseMaintenanceAdapter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DatabaseMaintenanceAdapter | The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AutoClose | Gets or sets a Boolean value (Inherited from DatabaseAdapterBase.) | 
| .gif) | AutoShrink | Gets or sets a Boolean value (Inherited from DatabaseAdapterBase.) | 
| .gif) | DataAndBackupOnSeparateLogicalVolumes | Returns a Boolean value that specifies whether the data and backup files are on separate logical volumes. | 
| .gif) | Database | Gets the database that is associated with the AdapterBase object. (Inherited from DatabaseAdapterBase.) | 
| .gif) | IsSystemObject | Gets the Boolean value that specifies whether the adapter base is a system object or not. (Inherited from DatabaseAdapterBase.) | 
| .gif) | LastBackupDate | Gets a Datetime object that indicates the time of the last backup. (Inherited from DatabaseAdapterBase.) | 
| .gif) | LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. (Inherited from DatabaseAdapterBase.) | 
| .gif) | PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Inherited from DatabaseAdapterBase.) | 
| .gif) | ReadOnly | Gets or sets a Boolean value. (Inherited from DatabaseAdapterBase.) | 
| .gif) | RecoveryModel | Gets or sets the database adapter recovery model. (Inherited from DatabaseAdapterBase.) | 
| .gif) | Size | Gets the database size in megabytes (MB). (Inherited from DatabaseAdapterBase.) | 
| .gif) | Status | Gets the database status. (Inherited from DatabaseAdapterBase.) | 
| .gif) | Trustworthy | Gets or sets a Boolean property for the database adapter base. (Inherited from DatabaseAdapterBase.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Alter | Alters database adapter base properties. (Inherited from DatabaseAdapterBase.) | 
| .gif) | DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. (Inherited from DatabaseAdapterBase.) | 
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | GetVolume | Returns the volume name as it appears in the PATH variable. (Inherited from DatabaseAdapterBase.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) | Refresh | Refreshes the database adapter. (Inherited from DatabaseAdapterBase.) | 
| .gif) | ToString | (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.