Udostępnij za pośrednictwem


ScriptComponentHost.PutBinaryCode Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Puts binary codes in the ScriptComponentHost.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)

Syntax

'Declaration
Public Sub PutBinaryCode ( _
    assemblyname As String, _
    binaryCode As Byte() _
)
'Usage
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[]
)

Parameters

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

See Also

Reference

ScriptComponentHost Class

Microsoft.SqlServer.Dts.Pipeline Namespace