Partilhar via


IDTSRuntimeConnectionCollection90.New Method

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

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

Syntax

'Declaration
<DispIdAttribute(14)> _
Function New As IDTSRuntimeConnection90
[DispIdAttribute(14)] 
IDTSRuntimeConnection90 New ()
[DispIdAttribute(14)] 
IDTSRuntimeConnection90^ New ()
/** @attribute DispIdAttribute(14) */ 
IDTSRuntimeConnection90 New ()
DispIdAttribute(14) 
function New () : IDTSRuntimeConnection90

Return Value

The newly created IDTSRuntimeConnection90 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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSRuntimeConnectionCollection90 Interface
IDTSRuntimeConnectionCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace