Udostępnij przez


DatabaseEncryptionKey.EncryptionState Property

Gets or sets the encryption key state.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property EncryptionState As DatabaseEncryptionState
[SfcPropertyAttribute] 
public DatabaseEncryptionState EncryptionState { get; }
[SfcPropertyAttribute] 
public:
property DatabaseEncryptionState EncryptionState {
    DatabaseEncryptionState get ();
}
/** @property */
public DatabaseEncryptionState get_EncryptionState ()
public function get EncryptionState () : DatabaseEncryptionState

Property Value

DatabaseEncryptionState

Remarks

Valid constants and underlying values are listed in the following table:

Underlying Value

Constant

0

None

1

Unencrypted

2

EncryptioninProgress

3

Encrypted

4

EncryptionKeyChangesInProgress

5

DecryptionInProgress

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.