Delen via


SqlAssembly.PublicKey Property

Gets the public key of the referenced assembly.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PublicKey As Byte()
    Get
    Set
'Usage
Dim instance As SqlAssembly
Dim value As Byte()

value = instance.PublicKey

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

Property Value

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