IDTSDesigntimeComponent100.InsertInput 方法
Adds an IDTSInput100 object to the IDTSInputCollection100.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Function InsertInput ( _
eInsertPlacement As DTSInsertPlacement, _
lInputID As Integer _
) As IDTSInput100
'用途
Dim instance As IDTSDesigntimeComponent100
Dim eInsertPlacement As DTSInsertPlacement
Dim lInputID As Integer
Dim returnValue As IDTSInput100
returnValue = instance.InsertInput(eInsertPlacement, _
lInputID)
IDTSInput100 InsertInput(
DTSInsertPlacement eInsertPlacement,
int lInputID
)
IDTSInput100^ InsertInput(
[InAttribute] DTSInsertPlacement eInsertPlacement,
[InAttribute] int lInputID
)
abstract InsertInput :
eInsertPlacement:DTSInsertPlacement *
lInputID:int -> IDTSInput100
function InsertInput(
eInsertPlacement : DTSInsertPlacement,
lInputID : int
) : IDTSInput100
參數
- eInsertPlacement
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement
Specifies whether to insert the new IDTSInput100 object before or after the IDTSInput100 object specified by lInputID.
- lInputID
型別:System.Int32
Specifies an existing IDTSInput100 object that the new IDTSInput100 is inserted next to.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
The IDTSInput100 that was added to the input collection.
備註
This method inserts a new IDTSInput100 object before or after the input object specified by the lInputID parameter in the NewAt method.
If inputID equals zero, the new IDTSInput100 object is added at the beginning of the collection.