Database.EncryptionEnabled 属性
Gets or sets a value that indicates whether the data encryption is enabled.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property EncryptionEnabled As Boolean
Get
Set
用法
Dim instance As Database
Dim value As Boolean
value = instance.EncryptionEnabled
instance.EncryptionEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool EncryptionEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property bool EncryptionEnabled {
bool get () sealed;
void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract EncryptionEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override EncryptionEnabled : bool with get, set
final function get EncryptionEnabled () : boolean
final function set EncryptionEnabled (value : boolean)
属性值
类型:System.Boolean
true if the data encryption is enabled; otherwise, false. The default is false.
实现
IDatabaseOptions.EncryptionEnabled