DatabaseEncryptionKeyExtender.DatabaseEncryptionEnabled Property
Gets or sets a Boolean value that indicates if encryption is enabled for a database. This property is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<ExtendedPropertyAttribute> _
Public Property DatabaseEncryptionEnabled As Boolean
[ExtendedPropertyAttribute]
public bool DatabaseEncryptionEnabled { get; set; }
[ExtendedPropertyAttribute]
public:
property bool DatabaseEncryptionEnabled {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_DatabaseEncryptionEnabled ()
/** @property */
public void set_DatabaseEncryptionEnabled (boolean value)
public function get DatabaseEncryptionEnabled () : boolean
public function set DatabaseEncryptionEnabled (value : boolean)
Property Value
Boolean If True encryption is enabled. If False encryption is not enabled.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.