共用方式為


IDTSRuntimeConnectionCollection100.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

傳回值

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

備註

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.

請參閱

參考

IDTSRuntimeConnectionCollection100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間