Partilhar 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
public virtual void Cleanup ()
public:
virtual void Cleanup ()
public void Cleanup ()
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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace