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(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property KeyEncryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm 
    Get
'Usage
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

Property Value

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

Examples

Setting Properties

See Also

Reference

AsymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE ASYMMETRIC KEY (Transact-SQL)