共用方式為


IDTSOutputCollection100.New 方法

Creates a new IDTSOutput100 object and adds it to an IDTSOutputColumnCollection100.

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

語法

'宣告
Function New As IDTSOutput100
'用途
Dim instance As IDTSOutputCollection100 
Dim returnValue As IDTSOutput100 

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

傳回值

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

備註

Components add IDTSOutput100 objects to the collection by using ProvideComponentProperties. Components may also allow design-time addition of IDTSOutput100 objects as the component is edited in the designer.

Developers that add components to the data flow task programmatically should not use this method to add outputs to the collection, because it may break the component. Instead, call the InsertOutput method of the design-time instance of the component.

請參閱

參考

IDTSOutputCollection100 介面

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