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 (預設值),則表示資料加密非作用中。