ScriptComponentHost.InsertOutput 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Inserts a new output to the ScriptComponentHost.
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.TxScript (在 Microsoft.SqlServer.TxScript.dll 中)
語法
'宣告
Public Overrides Function InsertOutput ( _
insertPlacement As DTSInsertPlacement, _
outputID As Integer _
) As IDTSOutput100
'用途
Dim instance As ScriptComponentHost
Dim insertPlacement As DTSInsertPlacement
Dim outputID As Integer
Dim returnValue As IDTSOutput100
returnValue = instance.InsertOutput(insertPlacement, _
outputID)
public override IDTSOutput100 InsertOutput(
DTSInsertPlacement insertPlacement,
int outputID
)
public:
virtual IDTSOutput100^ InsertOutput(
DTSInsertPlacement insertPlacement,
int outputID
) override
abstract InsertOutput :
insertPlacement:DTSInsertPlacement *
outputID:int -> IDTSOutput100
override InsertOutput :
insertPlacement:DTSInsertPlacement *
outputID:int -> IDTSOutput100
public override function InsertOutput(
insertPlacement : DTSInsertPlacement,
outputID : int
) : IDTSOutput100
參數
- insertPlacement
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement
The location to insert a new object in the collection.
- outputID
型別:System.Int32
The output identifier.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutput100
The inserted output.