Dela 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)