共用方式為


PrivateKeyEncryptionType 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property PrivateKeyEncryptionType As PrivateKeyEncryptionType
    Get
'用途
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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .PrivateKeyEncryptionType
A PrivateKeyEncryptionType value that specifies the encryption type for the private key associated with the asymmetric key.

範例

設定屬性