Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public enum PrivateKeyEncryptionType

Member nameDescription
NoKeyValue = 0. Certificate does not have any key.
MasterKeyValue = 1. Certificate is encrypted with a master key.
PasswordValue = 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.

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

Community Additions

ADD
Show:
© 2015 Microsoft