共用方式為


PublicKey 屬性

Gets the public key for the asymmetric key.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property PublicKey As Byte()
    Get
'用途
Dim instance As AsymmetricKey
Dim value As Byte()

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

屬性值

型別:array<System. . :: . .Byte> [] () [] []
A Uint8 array value that specifies the public key for the asymmetric key.

範例

設定屬性