共用方式為


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

備註

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

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。