مشاركة عبر


AsymmetricKey.PrivateKeyEncryptionType Property

Gets the encryption type for the private key for the asymmetric key.

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 AsymmetricKey 
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 value that specifies the encryption type for the private key associated with the asymmetric key.

Examples

Setting Properties

See Also

Reference

AsymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE ASYMMETRIC KEY (Transact-SQL)