AsymmetricKey.PublicKey 属性

Gets the public key for the asymmetric key.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property PublicKey As Byte()
    Get
用法
Dim instance As AsymmetricKey 
Dim value As Byte()

value = instance.PublicKey
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public byte[] PublicKey { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property array<unsigned char>^ PublicKey {
    array<unsigned char>^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member PublicKey : byte[]
function get PublicKey () : byte[]

属性值

类型:array<System.Byte[]
A Uint8 array value that specifies the public key for the asymmetric key.

示例

设置属性

请参阅

参考

AsymmetricKey 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE ASYMMETRIC KEY (Transact-SQL)