IDatabaseOptions.EncryptionEnabled Property

 

Gets or sets a value indicating whether encryption is enabled for the database.

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

[DisplayNameKeyAttribute("Database_EncryptionEnabledName")]
[DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")]
bool EncryptionEnabled { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether database encryption is enabled.

If True, database encryption is enabled. Otherwise, False (default.)

Return to top
Show: