Sdílet prostřednictvím


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> _
Public ReadOnly Property PrivateKeyEncryptionType As PrivateKeyEncryptionType
    Get
'Usage
Dim instance As Certificate
Dim value As PrivateKeyEncryptionType

value = instance.PrivateKeyEncryptionType
[SfcPropertyAttribute]
public PrivateKeyEncryptionType PrivateKeyEncryptionType { get; }
[SfcPropertyAttribute]
public:
property PrivateKeyEncryptionType PrivateKeyEncryptionType {
    PrivateKeyEncryptionType get ();
}
[<SfcPropertyAttribute>]
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