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 版本支持此命名空间、类或成员。