Share via


PipelineComponent.Cleanup Method

Frees resources and finishes the execution of the component.

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

Syntax

'Declaration
Public Overridable Sub Cleanup
'Usage
Dim instance As PipelineComponent

instance.Cleanup()
public virtual void Cleanup()
public:
virtual void Cleanup()
abstract Cleanup : unit -> unit 
override Cleanup : unit -> unit 
public function Cleanup()

Remarks

Cleanup is the last method that is called during execution of a data flow component. Components should release allocated resources and do post processing work such as assigning values to variables, during this method.