다음을 통해 공유


DatabaseEncryptionKey.EncryptionState 속성

Gets or sets the encryption key state.

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

구문

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

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.DatabaseEncryptionState
The encryption key state.

주의

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

참고 항목

참조

DatabaseEncryptionKey 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

투명한 데이터 암호화

데이터베이스 암호화 관리(속성 페이지)