Delen via


DeployedDac.EncryptionEnabled Property

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

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property EncryptionEnabled As Boolean 
    Get
'Usage
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

Property Value

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

See Also

Reference

DeployedDac Class

Microsoft.SqlServer.Management.Utility Namespace