IDTSRuntimeConnectionCollection100.NewAt(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new run-time connection at the specified location in a collection.
public:
Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ NewAt(int lIndex);
[System.Runtime.InteropServices.DispId(15)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100 NewAt (int lIndex);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member NewAt : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
Public Function NewAt (lIndex As Integer) As IDTSRuntimeConnection100
Parameters
- lIndex
- Int32
The location in the collection to add the new run-time connection.
Returns
The newly created IDTSRuntimeConnection100 connection.
- Attributes
Remarks
The NewAt method creates a new run-time connection at the specified location in the collection and returns the newly created connection object. If the lIndex
parameter is outside the bounds of the collection then an Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception is thrown.