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)