PipelineComponent.InsertInput 方法
Adds an IDTSInput100 object to the IDTSInputCollection100.
此 API 不符合 CLS 標準。
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
<CLSCompliantAttribute(False)> _
Public Overridable Function InsertInput ( _
insertPlacement As DTSInsertPlacement, _
inputID As Integer _
) As IDTSInput100
'用途
Dim instance As PipelineComponent
Dim insertPlacement As DTSInsertPlacement
Dim inputID As Integer
Dim returnValue As IDTSInput100
returnValue = instance.InsertInput(insertPlacement, _
inputID)
[CLSCompliantAttribute(false)]
public virtual IDTSInput100 InsertInput(
DTSInsertPlacement insertPlacement,
int inputID
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSInput100^ InsertInput(
DTSInsertPlacement insertPlacement,
int inputID
)
[<CLSCompliantAttribute(false)>]
abstract InsertInput :
insertPlacement:DTSInsertPlacement *
inputID:int -> IDTSInput100
[<CLSCompliantAttribute(false)>]
override InsertInput :
insertPlacement:DTSInsertPlacement *
inputID:int -> IDTSInput100
public function InsertInput(
insertPlacement : DTSInsertPlacement,
inputID : int
) : IDTSInput100
參數
- insertPlacement
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement
Specifies whether to insert the new IDTSInput100 object before or after the IDTSInput100 object specified by inputID.
- inputID
型別:System.Int32
Specifies an existing IDTSInput100 object that the new IDTSInput100 is inserted next to.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
The newly created IDTSInput100 object.
備註
This method inserts a new IDTSInput100 object before or after the specified input object specified by the inputID parameter during the NewAt method.
If inputID equals zero, the new IDTSInput100 object is added at the start of the collection.