Delen via


PipelineComponent.DeleteOutput Method

Deletes an IDTSOutput100 object from the IDTSOutputCollection100 collection.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
Public Overridable Sub DeleteOutput ( _
    outputID As Integer _
)
'Usage
Dim instance As PipelineComponent
Dim outputID As Integer

instance.DeleteOutput(outputID)
public virtual void DeleteOutput(
    int outputID
)
public:
virtual void DeleteOutput(
    int outputID
)
abstract DeleteOutput : 
        outputID:int -> unit 
override DeleteOutput : 
        outputID:int -> unit 
public function DeleteOutput(
    outputID : int
)

Parameters

Remarks

The base class implementation of DeleteOutput deletes the IDTSOutput100 object specified by the outputID parameter from the IDTSOutputCollection100. To prevent the deletion of IDTSOutput100 objects from your component, override this method and throw an exception in your method implementation.