共用方式為


PrivateKeyEncryptionType Enumeration

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 (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType
public enum class PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType

Members

Member name Description
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.

備註

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

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace