共用方式為


AsymmetricKey.KeyEncryptionAlgorithm 屬性

Gets the encryption algorithm used to encrypt the asymmetric key.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property KeyEncryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm 
    Get
'用途
Dim instance As AsymmetricKey 
Dim value As AsymmetricKeyEncryptionAlgorithm 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm used to encrypt the asymmetric key.

範例

設定屬性

請參閱

參考

AsymmetricKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE ASYMMETRIC KEY (Transact-SQL)