Share via


IDTSRuntimeConnectionCollection100.New Method

Creates a new IDTSRuntimeConnection100 object and adds it to a collection.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Function New As IDTSRuntimeConnection100
'Usage
Dim instance As IDTSRuntimeConnectionCollection100 
Dim returnValue As IDTSRuntimeConnection100 

returnValue = instance.New()
IDTSRuntimeConnection100 New()
IDTSRuntimeConnection100^ New()
abstract New : unit -> IDTSRuntimeConnection100
function New() : IDTSRuntimeConnection100

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
The newly created IDTSRuntimeConnection100 object.

Remarks

The New method creates a run-time connection, adds it to the collection, and returns the connection.

This method should not be called when programmatically building or modifying a data flow component, instead, the component adds new items and manages the collection.

See Also

Reference

IDTSRuntimeConnectionCollection100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace