Поделиться через


Свойство EncryptionEnabled

Gets or sets the ENCRYPTIONENABLED property of a database.

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

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public Property EncryptionEnabled As Boolean
    Get
    Set
'Применение
Dim instance As Database
Dim value As Boolean

value = instance.EncryptionEnabled

instance.EncryptionEnabled = value
[SfcPropertyAttribute]
public bool EncryptionEnabled { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool EncryptionEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract EncryptionEnabled : bool with get, set
[<SfcPropertyAttribute>]
override EncryptionEnabled : bool with get, set
final function get EncryptionEnabled () : boolean
final function set EncryptionEnabled (value : boolean)

Значение свойства

Тип System. . :: . .Boolean
An EncryptionEnabled value that specifies whether the date correlation optimization is active. If False (default), data encryption is not active

Реализует интерфейс

IDatabaseOptions. . :: . .EncryptionEnabled