共用方式為


New 方法

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

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function New As IDTSRuntimeConnection100
'用途
Dim instance As IDTSRuntimeConnectionCollection100
Dim returnValue As IDTSRuntimeConnection100

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

備註

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.