Share via


SymmetricKey.EncryptionAlgorithm Property

Gets or sets the symmetric key encryption algorithm.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm
    Get
'Usage
Dim instance As SymmetricKey
Dim value As SymmetricKeyEncryptionAlgorithm

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm
A SymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm used by the symmetric key.

Examples

Using Encryption