Proprietà EncryptionEnabled
Gets or sets a value indicating whether encryption is enabled for the database.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")> _
<DisplayNameKeyAttribute("Database_EncryptionEnabledName")> _
Property EncryptionEnabled As Boolean
Get
Set
'Utilizzo
Dim instance As IDatabaseOptions
Dim value As Boolean
value = instance.EncryptionEnabled
instance.EncryptionEnabled = value
[DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")]
[DisplayNameKeyAttribute("Database_EncryptionEnabledName")]
bool EncryptionEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_EncryptionEnabledDesc")]
[DisplayNameKeyAttribute(L"Database_EncryptionEnabledName")]
property bool EncryptionEnabled {
bool get ();
void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")>]
[<DisplayNameKeyAttribute("Database_EncryptionEnabledName")>]
abstract EncryptionEnabled : bool with get, set
function get EncryptionEnabled () : boolean
function set EncryptionEnabled (value : boolean)
Valore proprietà
Tipo: System. . :: . .Boolean
A Boolean value that specifies whether database encryption is enabled.
If True, database encryption is enabled. Otherwise, False (default.)
Vedere anche