Share via


DatabaseEncryptionKey.EncryptionAlgorithm Property

Gets or sets the encryption key algorithm.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptionAlgorithm As DatabaseEncryptionAlgorithm 
    Get 
    Set
'Usage
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)

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEncryptionAlgorithm
The encryption key algorithm.

See Also

Reference

DatabaseEncryptionKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Transparent Data Encryption (TDE)

Manage Database Encryption (Properties Page)