AsymmetricKey.KeyEncryptionAlgorithm Property

Gets the encryption algorithm used to encrypt the asymmetric key.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property KeyEncryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm
    Get
'Usage
Dim instance As AsymmetricKey
Dim value As AsymmetricKeyEncryptionAlgorithm

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

Property Value

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