Propriedade do RDL IDatabaseOptions.EncryptionEnabled
Gets or sets a value indicating whether encryption is enabled for the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<DisplayNameKeyAttribute("Database_EncryptionEnabledName")> _
<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")> _
Property EncryptionEnabled As Boolean
Get
Set
'Uso
Dim instance As IDatabaseOptions
Dim value As Boolean
value = instance.EncryptionEnabled
instance.EncryptionEnabled = value
[DisplayNameKeyAttribute("Database_EncryptionEnabledName")]
[DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")]
bool EncryptionEnabled { get; set; }
[DisplayNameKeyAttribute(L"Database_EncryptionEnabledName")]
[DisplayDescriptionKeyAttribute(L"Database_EncryptionEnabledDesc")]
property bool EncryptionEnabled {
bool get ();
void set (bool value);
}
[<DisplayNameKeyAttribute("Database_EncryptionEnabledName")>]
[<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")>]
abstract EncryptionEnabled : bool with get, set
function get EncryptionEnabled () : boolean
function set EncryptionEnabled (value : boolean)
Valor da propriedade
Tipo: System.Boolean
A Boolean value that specifies whether database encryption is enabled.If True, database encryption is enabled. Otherwise, False (default.)