共用方式為


ScriptComponentHost.PutBinaryCode 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Puts binary codes in the ScriptComponentHost.

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.TxScript (在 Microsoft.SqlServer.TxScript.dll 中)

語法

'宣告
Public Sub PutBinaryCode ( _
    assemblyname As String, _
    binaryCode As Byte() _
)
'用途
Dim instance As ScriptComponentHost 
Dim assemblyname As String 
Dim binaryCode As Byte()

instance.PutBinaryCode(assemblyname, _
    binaryCode)
public void PutBinaryCode(
    string assemblyname,
    byte[] binaryCode
)
public:
void PutBinaryCode(
    String^ assemblyname, 
    array<unsigned char>^ binaryCode
)
member PutBinaryCode : 
        assemblyname:string * 
        binaryCode:byte[] -> unit
public function PutBinaryCode(
    assemblyname : String, 
    binaryCode : byte[]
)

參數

  • binaryCode
    型別:array<System.Byte[]
    The binary code.

請參閱

參考

ScriptComponentHost 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間