Класс DatabaseSecurityAdapter

Includes properties and methods that are used to expose the Database Security facet.

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

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

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод DatabaseSecurityAdapter Includes properties and methods that are used to expose the Database Security facet.

В начало

Свойства

  Имя Описание
Открытое свойство 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.)
Открытое свойство IsOwnerSysadmin Determines if the database owner has a sysadmin role.
Открытое свойство 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 database security facet properties. (Переопределяет DatabaseAdapterBase. . :: . .Refresh() () () ().)
Открытый метод ToString (Производный от Object.)

В начало

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

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