Compartir a través de


DatabaseEncryptionKey.EncryptionType Propiedad

Specifies the encryption type used to encrypt the database encryption key.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptionType As DatabaseEncryptionType 
    Get 
    Set
'Uso
Dim instance As DatabaseEncryptionKey 
Dim value As DatabaseEncryptionType 

value = instance.EncryptionType

instance.EncryptionType = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DatabaseEncryptionType EncryptionType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DatabaseEncryptionType EncryptionType {
    DatabaseEncryptionType get ();
    void set (DatabaseEncryptionType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EncryptionType : DatabaseEncryptionType with get, set
function get EncryptionType () : DatabaseEncryptionType 
function set EncryptionType (value : DatabaseEncryptionType)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.DatabaseEncryptionType
The encryption type used to encrypt the database encryption key.

Comentarios

The following table lists the underlying values and constants for the encryption type:

Underlying Value

Constant

0

ServerCertificate

1

ServerAsymmetricKey

Vea también

Referencia

DatabaseEncryptionKey Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Cifrado de datos transparente (TDE)

Administrar cifrado de base de datos (página Propiedades)