Sdílet prostřednictvím


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> _
Public ReadOnly Property EncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm
    Get
'Usage
Dim instance As SymmetricKey
Dim value As SymmetricKeyEncryptionAlgorithm

value = instance.EncryptionAlgorithm
[SfcPropertyAttribute]
public SymmetricKeyEncryptionAlgorithm EncryptionAlgorithm { get; }
[SfcPropertyAttribute]
public:
property SymmetricKeyEncryptionAlgorithm EncryptionAlgorithm {
    SymmetricKeyEncryptionAlgorithm get ();
}
[<SfcPropertyAttribute>]
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