共用方式為


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

成員

成員名稱 說明
MasterKey Value = 1. Certificate is encrypted with a master key.
NoKey Value = 0. Certificate does not have any 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 版支援此命名空間、類別或成員。

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間