Свойство EncryptionType
Specifies the encryption type used to encrypt the database encryption key
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptionType As DatabaseEncryptionType
Get
Set
'Применение
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)
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEncryptionType
DatabaseEncryptionType
Замечания
The following table lists the underlying values and constants for the encryption type:
Underlying Value |
Constant |
---|---|
0 |
ServerCertificate |
1 |
ServerAsymmetricKey |