共用方式為


DatabaseEncryptionKey.EncryptionAlgorithm 屬性

Gets or sets the encryption key algorithm.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptionAlgorithm As DatabaseEncryptionAlgorithm 
    Get 
    Set
'用途
Dim instance As DatabaseEncryptionKey 
Dim value As DatabaseEncryptionAlgorithm 

value = instance.EncryptionAlgorithm

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.DatabaseEncryptionAlgorithm
The encryption key algorithm.

請參閱

參考

DatabaseEncryptionKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

透明資料加密 (TDE)

管理資料庫加密 (屬性頁面)