共用方式為


SqlAssembly.PublicKey 屬性

Gets the public key of the referenced assembly.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PublicKey As Byte()
    Get 
    Set
'用途
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[])

屬性值

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

範例

設定屬性

請參閱

參考

SqlAssembly 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE ASSEMBLY (Transact-SQL)