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


Свойство DatabaseEncryptionEnabled

Gets or sets a Boolean value that indicates whether encryption is enabled for a database.

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

Синтаксис

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

value = instance.DatabaseEncryptionEnabled

instance.DatabaseEncryptionEnabled = value
[ExtendedPropertyAttribute]
public bool DatabaseEncryptionEnabled { get; set; }
[ExtendedPropertyAttribute]
public:
property bool DatabaseEncryptionEnabled {
    bool get ();
    void set (bool value);
}
[<ExtendedPropertyAttribute>]
member DatabaseEncryptionEnabled : bool with get, set
function get DatabaseEncryptionEnabled () : boolean
function set DatabaseEncryptionEnabled (value : boolean)

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

Тип: System. . :: . .Boolean
Boolean
If True encryption is enabled.
If False encryption is not enabled.