Поделиться через


Перечисление PrivateKeyEncryptionType

The PrivateKeyEncryptionType enumeration contains values that are used to specify the encryption types for a private key associated with a certificate or an asymmetric key.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SqlEnum (в Microsoft.SqlServer.SqlEnum.dll)

Синтаксис

'Декларация
Public Enumeration PrivateKeyEncryptionType
'Применение
Dim instance As PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType
public enum class PrivateKeyEncryptionType
type PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType

Элементы

Имя элемента Описание
NoKey Value = 0. Certificate does not have any key.
MasterKey Value = 1. Certificate is encrypted with a master key.
Password Value = 2. Certificate is encrypted with a user password.
Provider Value = 3.

Certificate is encrypted by the encryption provider.

Замечания

The PrivateKeyEncryptionType enumeration class is served by the PrivateKeyEncryptionType property of the Certificate class and the AsymmetricKey class.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.