Export (0) Print
Expand All

DatabaseMaintenanceAdapter Class

The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.

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)

type DatabaseMaintenanceAdapter =  
    class 
        inherit DatabaseAdapter 
        interface IDatabaseMaintenanceFacet 
        interface IDmfFacet 
    end

The DatabaseMaintenanceAdapter type exposes the following members.

  NameDescription
Public methodDatabaseMaintenanceAdapterThe Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.
Top

  NameDescription
Public propertyAutoCloseGets or sets a value that indicates whether the AutoClose is on. (Inherited from DatabaseAdapterBase.)
Public propertyAutoShrinkGets or sets a value that indicates whether the AutoShrink is on. (Inherited from DatabaseAdapterBase.)
Public propertyDataAndBackupOnSeparateLogicalVolumesReturns a Boolean value that specifies whether the data and backup files are on separate logical volumes.
Protected propertyDatabaseGets the database that is associated with the AdapterBase object. (Inherited from DatabaseAdapterBase.)
Public propertyDelayedDurabilityGets or sets the delayed durability setting of a database. (Inherited from DatabaseAdapterBase.)
Public propertyIsSystemObjectGets the Boolean value that specifies whether the adapter base is a system object or not. (Inherited from DatabaseAdapterBase.)
Public propertyLastBackupDateGets a Datetime object that indicates the time of the last backup. (Inherited from DatabaseAdapterBase.)
Public propertyLastLogBackupDateGets a Datetime object that indicates the time of the last log backup. (Inherited from DatabaseAdapterBase.)
Public propertyPageVerifyGets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Inherited from DatabaseAdapterBase.)
Public propertyReadOnlyGets or sets a value that indicates whether database is set to read-only. (Inherited from DatabaseAdapterBase.)
Public propertyRecoveryModelGets or sets the database adapter recovery model. (Inherited from DatabaseAdapterBase.)
Public propertySizeGets the database size in megabytes (MB). (Inherited from DatabaseAdapterBase.)
Public propertyStatusGets the database status. (Inherited from DatabaseAdapterBase.)
Public propertyTargetRecoveryTimeReturns target recovery time setting of a database. (Inherited from DatabaseAdapterBase.)
Public propertyTrustworthyGets or sets a value that indicates whether database is set to Trustworthy. (Inherited from DatabaseAdapterBase.)
Top

  NameDescription
Public methodAlterAlters database adapter base properties. (Inherited from DatabaseAdapterBase.)
Protected methodDataFileVolumeNotInReturns a Boolean value that is associated with the database adapter base. (Inherited from DatabaseAdapterBase.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetVolumeReturns the volume name as it appears in the PATH variable. (Inherited from DatabaseAdapterBase.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshRefreshes the database adapter. (Inherited from DatabaseAdapterBase.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft