AsymmetricKey.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.

示例

设置属性

请参阅

参考

AsymmetricKey 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE ASYMMETRIC KEY (Transact-SQL)