次の方法で共有


DatabaseEncryptionKey.EncryptionType プロパティ

データベース暗号化キーの暗号化に使用する暗号化の種類を指定します。

名前空間:  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
データベース暗号化キーの暗号化に使用する暗号化の種類です。

説明

暗号化の種類を示す、基になる値および定数を次の表に示します。

基になる値

定数

0

ServerCertificate

1

ServerAsymmetricKey

関連項目

参照

DatabaseEncryptionKey クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

透過的なデータ暗号化 (TDE)

[データベース暗号化の管理] ([プロパティ] ページ)