Share via


DatabaseEncryptionKeyExtender.EncryptionState Property

Gets the database encryption state.

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

Syntax

'Declaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property EncryptionState As DatabaseEncryptionState
    Get
'Usage
Dim instance As DatabaseEncryptionKeyExtender
Dim value As DatabaseEncryptionState

value = instance.EncryptionState
[ExtendedPropertyAttribute]
public DatabaseEncryptionState EncryptionState { get; }
[ExtendedPropertyAttribute]
public:
property DatabaseEncryptionState EncryptionState {
    DatabaseEncryptionState get ();
}
[<ExtendedPropertyAttribute>]
member EncryptionState : DatabaseEncryptionState
function get EncryptionState () : DatabaseEncryptionState