共用方式為


DeployedDac.EncryptionEnabled 屬性

Gets a value that indicates whether the DAC database is encrypted.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property EncryptionEnabled As Boolean 
    Get
'用途
Dim instance As DeployedDac 
Dim value As Boolean 

value = instance.EncryptionEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public bool EncryptionEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property bool EncryptionEnabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member EncryptionEnabled : bool
function get EncryptionEnabled () : boolean

屬性值

型別:System.Boolean
A Boolean value that specifies whether encryption is enabled for the DAC database. If true, encryption is enabled. Otherwise, false.

請參閱

參考

DeployedDac 類別

Microsoft.SqlServer.Management.Utility 命名空間