Partager via


New méthode

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

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Function New As IDTSRuntimeConnection100
'Utilisation
Dim instance As IDTSRuntimeConnectionCollection100
Dim returnValue As IDTSRuntimeConnection100

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

Notes

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.