Класс DatabaseAdapter

Database Adapter type to be used as a management facet.

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

Синтаксис

'Декларация
Public Class DatabaseAdapter _
    Inherits DatabaseAdapterBase _
    Implements IDmfAdapter, IDmfFacet
'Применение
Dim instance As DatabaseAdapter
public class DatabaseAdapter : DatabaseAdapterBase, 
    IDmfAdapter, IDmfFacet
public ref class DatabaseAdapter : public DatabaseAdapterBase, 
    IDmfAdapter, IDmfFacet
type DatabaseAdapter =  
    class
        inherit DatabaseAdapterBase
        interface IDmfAdapter
        interface IDmfFacet
    end
public class DatabaseAdapter extends DatabaseAdapterBase implements IDmfAdapter, IDmfFacet

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

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

  Имя Описание
Открытый метод DatabaseAdapter Creates an instance of the Database Adapter class

В начало

Свойства

  Имя Описание
Открытое свойство AutoClose Gets or sets a Boolean value (Производный от DatabaseAdapterBase.)
Открытое свойство AutoShrink Gets or sets a Boolean value (Производный от DatabaseAdapterBase.)
Защищенное свойство 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.