Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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: Boolean
true if the data encryption is enabled; otherwise, false. The default is false.

Implements

IDatabaseOptions.EncryptionEnabled

Community Additions

Show:
© 2015 Microsoft