共用方式為


EncryptionEnabled 屬性

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")> _
<DisplayNameKeyAttribute("Database_EncryptionEnabledName")> _
Property EncryptionEnabled As Boolean
    Get
    Set
'用途
Dim instance As IDatabaseOptions
Dim value As Boolean

value = instance.EncryptionEnabled

instance.EncryptionEnabled = value
[DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")]
[DisplayNameKeyAttribute("Database_EncryptionEnabledName")]
bool EncryptionEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_EncryptionEnabledDesc")]
[DisplayNameKeyAttribute(L"Database_EncryptionEnabledName")]
property bool EncryptionEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")>]
[<DisplayNameKeyAttribute("Database_EncryptionEnabledName")>]
abstract EncryptionEnabled : bool with get, set
function get EncryptionEnabled () : boolean
function set EncryptionEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean