다음을 통해 공유


DatabaseEncryptionKey.EncryptionType 속성

Specifies the encryption type used to encrypt the database encryption key.

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

구문

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

value = instance.EncryptionType

instance.EncryptionType = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DatabaseEncryptionType EncryptionType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DatabaseEncryptionType EncryptionType {
    DatabaseEncryptionType get ();
    void set (DatabaseEncryptionType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EncryptionType : DatabaseEncryptionType with get, set
function get EncryptionType () : DatabaseEncryptionType 
function set EncryptionType (value : DatabaseEncryptionType)

속성 값

유형: Microsoft.SqlServer.Management.Smo.DatabaseEncryptionType
The encryption type used to encrypt the database encryption key.

주의

The following table lists the underlying values and constants for the encryption type:

Underlying Value

Constant

0

ServerCertificate

1

ServerAsymmetricKey

참고 항목

참조

DatabaseEncryptionKey 클래스

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

관련 자료

투명한 데이터 암호화

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