Certificate.PrivateKeyEncryptionType Property

Gets the encryption type of the private key for the certificate.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property PrivateKeyEncryptionType As PrivateKeyEncryptionType
    Get
'Usage
Dim instance As Certificate
Dim value As PrivateKeyEncryptionType

value = instance.PrivateKeyEncryptionType
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public PrivateKeyEncryptionType PrivateKeyEncryptionType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property PrivateKeyEncryptionType PrivateKeyEncryptionType {
    PrivateKeyEncryptionType get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member PrivateKeyEncryptionType : PrivateKeyEncryptionType
function get PrivateKeyEncryptionType () : PrivateKeyEncryptionType

Property Value

Type: Microsoft.SqlServer.Management.Smo.PrivateKeyEncryptionType
A PrivateKeyEncryptionType object value that specifies the encryption type used by the private key.

Examples

Using Encryption