Partager via


Énumération 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.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SqlEnum (dans Microsoft.SqlServer.SqlEnum.dll)

Syntaxe

'Déclaration
Public Enumeration PrivateKeyEncryptionType
'Utilisation
Dim instance As PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType
public enum class PrivateKeyEncryptionType
type PrivateKeyEncryptionType
public enum PrivateKeyEncryptionType

Membres

Nom de membre Description
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

Notes

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

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.