Database.EncryptionEnabled Property
SQL Server 2012
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.Booleantrue if the data encryption is enabled; otherwise, false. The default is false.