Класс DatabaseMaintenanceAdapter

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

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapterBase
    Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapter
      Microsoft.SqlServer.Management.Smo..::..DatabaseMaintenanceAdapter

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Class DatabaseMaintenanceAdapter _
    Inherits DatabaseAdapter _
    Implements IDatabaseMaintenanceFacet, IDmfFacet
'Применение
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

Тип DatabaseMaintenanceAdapter обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод DatabaseMaintenanceAdapter The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.

В начало

Свойства

  Имя Описание
Открытое свойство AutoClose Gets or sets a Boolean value (Производный от DatabaseAdapterBase.)
Открытое свойство AutoShrink Gets or sets a Boolean value (Производный от 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. (Производный от DatabaseAdapterBase.)
Открытое свойство IsSystemObject Gets the Boolean value that specifies whether the adapter base is a system object or not. (Производный от DatabaseAdapterBase.)
Открытое свойство LastBackupDate Gets a Datetime object that indicates the time of the last backup. (Производный от DatabaseAdapterBase.)
Открытое свойство LastLogBackupDate Gets a Datetime object that indicates the time of the last log backup. (Производный от DatabaseAdapterBase.)
Открытое свойство PageVerify Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Производный от DatabaseAdapterBase.)
Открытое свойство ReadOnly Gets or sets a Boolean value. (Производный от DatabaseAdapterBase.)
Открытое свойство RecoveryModel Gets or sets the database adapter recovery model. (Производный от DatabaseAdapterBase.)
Открытое свойство Size Gets the database size in megabytes (MB). (Производный от DatabaseAdapterBase.)
Открытое свойство Status Gets the database status. (Производный от DatabaseAdapterBase.)
Открытое свойство Trustworthy Gets or sets a Boolean property for the database adapter base. (Производный от DatabaseAdapterBase.)

В начало

Методы

  Имя Описание
Открытый метод Alter Alters database adapter base properties. (Производный от DatabaseAdapterBase.)
Защищенный метод DataFileVolumeNotIn Returns a Boolean value that is associated with the database adapter base. (Производный от DatabaseAdapterBase.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод GetVolume Returns the volume name as it appears in the PATH variable. (Производный от DatabaseAdapterBase.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Refresh Refreshes the database adapter. (Производный от DatabaseAdapterBase.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.