다음을 통해 공유


EncryptionState 속성

Gets or sets the encryption key state.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute> _
Public ReadOnly Property EncryptionState As DatabaseEncryptionState
    Get
‘사용 방법
Dim instance As DatabaseEncryptionKey
Dim value As DatabaseEncryptionState

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

주의

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