Sdílet prostřednictvím


AsymmetricKey.PublicKey Property

Gets the public key for the asymmetric key.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property PublicKey As Byte()
    Get
'Usage
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[]

Property Value

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