DatabaseEncryptionKeyExtender.DatabaseEncryptionEnabled 属性

Gets or sets a Boolean value that indicates whether encryption is enabled for a database.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<ExtendedPropertyAttribute> _
Public Property DatabaseEncryptionEnabled As Boolean 
    Get 
    Set
用法
Dim instance As DatabaseEncryptionKeyExtender 
Dim value As Boolean 

value = instance.DatabaseEncryptionEnabled

instance.DatabaseEncryptionEnabled = value
[ExtendedPropertyAttribute]
public bool DatabaseEncryptionEnabled { get; set; }
[ExtendedPropertyAttribute]
public:
property bool DatabaseEncryptionEnabled {
    bool get ();
    void set (bool value);
}
[<ExtendedPropertyAttribute>]
member DatabaseEncryptionEnabled : bool with get, set
function get DatabaseEncryptionEnabled () : boolean 
function set DatabaseEncryptionEnabled (value : boolean)

属性值

类型:System.Boolean
Boolean If True encryption is enabled.If False encryption is not enabled.

请参阅

参考

DatabaseEncryptionKeyExtender 类

Microsoft.SqlServer.Management.Smo 命名空间