IDTSInputCollection100.NewAt(Int32) Method

Definition

Adds a new input object at the specified index in a collection.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInput100 ^ NewAt(int lIndex);
[System.Runtime.InteropServices.DispId(15)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100 NewAt (int lIndex);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member NewAt : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Public Function NewAt (lIndex As Integer) As IDTSInput100

Parameters

lIndex
Int32

The location in the collection to add the new input.

Returns

The newly created IDTSInput100 object.

Attributes

Remarks

The NewAt method creates a new input object at the specified location in the collection and returns the newly created input object. If the Index parameter is outside the bounds of the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.

Applies to