DatabaseEncryptionKey.EncryptionType Property
Specifies the encryption type used to encrypt the database encryption key
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public Property EncryptionType As DatabaseEncryptionType
[SfcPropertyAttribute]
public DatabaseEncryptionType EncryptionType { get; set; }
[SfcPropertyAttribute]
public:
property DatabaseEncryptionType EncryptionType {
DatabaseEncryptionType get ();
void set (DatabaseEncryptionType value);
}
/** @property */
public DatabaseEncryptionType get_EncryptionType ()
/** @property */
public void set_EncryptionType (DatabaseEncryptionType value)
public function get EncryptionType () : DatabaseEncryptionType
public function set EncryptionType (value : DatabaseEncryptionType)
Property Value
Remarks
The following table lists the underlying values and constants for the encryption type:
Underlying Value |
Constant |
0 |
ServerCertificate |
1 |
ServerAsymmetricKey |
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.