共用方式為


PipelineComponent.InsertOutput(DTSInsertPlacement, Int32) Method

Definition

Important

This API is not CLS-compliant.

Adds a new IDTSOutput100 object

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSOutput100 ^ InsertOutput(Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSInsertPlacement insertPlacement, int outputID);
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutput100 InsertOutput (Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement insertPlacement, int outputID);
[<System.CLSCompliant(false)>]
abstract member InsertOutput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutput100
override this.InsertOutput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutput100
Public Overridable Function InsertOutput (insertPlacement As DTSInsertPlacement, outputID As Integer) As IDTSOutput100

Parameters

insertPlacement
DTSInsertPlacement

Specifies whether to insert the new IDTSOutput100 object before or after the IDTSOutput100 object specified by outputID.

outputID
Int32

Specifies an existing IDTSOutput100 object that the new IDTSOutput100 is inserted next to.

Returns

The newly created IDTSInput100 object

Attributes

Remarks

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.

Applies to