EncryptionEnabled 属性
获取或设置数据库的 ENCRYPTIONENABLED 属性。
命名空间: 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
一个 EncryptionEnabled 值,该值指定日期相关性优化是否处于活动状态。如果为 False(默认值),则数据加密不处于活动状态