共用方式為


InsertOutput 方法

Adds a new IDTSOutput100 object

此 API 不符合 CLS 標準。 

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

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Overridable Function InsertOutput ( _
    insertPlacement As DTSInsertPlacement, _
    outputID As Integer _
) As IDTSOutput100
'用途
Dim instance As PipelineComponent
Dim insertPlacement As DTSInsertPlacement
Dim outputID As Integer
Dim returnValue As IDTSOutput100

returnValue = instance.InsertOutput(insertPlacement, _
    outputID)
[CLSCompliantAttribute(false)]
public virtual IDTSOutput100 InsertOutput(
    DTSInsertPlacement insertPlacement,
    int outputID
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSOutput100^ InsertOutput(
    DTSInsertPlacement insertPlacement, 
    int outputID
)
[<CLSCompliantAttribute(false)>]
abstract InsertOutput : 
        insertPlacement:DTSInsertPlacement * 
        outputID:int -> IDTSOutput100 
[<CLSCompliantAttribute(false)>]
override InsertOutput : 
        insertPlacement:DTSInsertPlacement * 
        outputID:int -> IDTSOutput100 
public function InsertOutput(
    insertPlacement : DTSInsertPlacement, 
    outputID : int
) : IDTSOutput100

參數

備註

This method inserts a new IDTSOutput100 object before or after the specified input object specified by the outputID parameter during the NewAt method.

If outputID equals zero, the new IDTSOutput100 object is added at the start of the collection.