共用方式為


ScriptComponentHost.GetBinaryCode 方法

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

Gets the collection of binary codes.

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

語法

'宣告
Public Function GetBinaryCode ( _
    assemblyname As String _
) As Byte()
'用途
Dim instance As ScriptComponentHost 
Dim assemblyname As String 
Dim returnValue As Byte()

returnValue = instance.GetBinaryCode(assemblyname)
public byte[] GetBinaryCode(
    string assemblyname
)
public:
array<unsigned char>^ GetBinaryCode(
    String^ assemblyname
)
member GetBinaryCode : 
        assemblyname:string -> byte[] 
public function GetBinaryCode(
    assemblyname : String
) : byte[]

參數

傳回值

型別:array<System.Byte[]
A collection of binary codes.

請參閱

參考

ScriptComponentHost 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間