Compartilhar via


Método IDTSRuntimeConnectionCollection100.New

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

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

Sintaxe

'Declaração
Function New As IDTSRuntimeConnection100
'Uso
Dim instance As IDTSRuntimeConnectionCollection100 
Dim returnValue As IDTSRuntimeConnection100 

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

Valor de retorno

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

Comentários

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.

Consulte também

Referência

IDTSRuntimeConnectionCollection100 Interface

Namespace Microsoft.SqlServer.Dts.Pipeline.Wrapper