EncryptionEnabled Property
Collapse the table of content
Expand the table of content

Database.EncryptionEnabled Property


Gets or sets a value that indicates whether the data encryption is enabled.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public bool EncryptionEnabled { get; set; }

Property Value

Type: System.Boolean

true if the data encryption is enabled; otherwise, false. The default is false.

Return to top
© 2015 Microsoft