共用方式為


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> _
Public ReadOnly Property PrivateKeyEncryptionType As PrivateKeyEncryptionType
    Get
'用途
Dim instance As AsymmetricKey
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

屬性值

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

範例

設定屬性