PreExecute Method

PipelineComponent.PreExecute Method ()


Called after PrepareForExecute, and before PrimeOutput and ProcessInput.

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

abstract PreExecute : unit -> unit
override PreExecute : unit -> unit

Component developers should factor as much functionality into PreExecute as possible because it is called one time per component instead of one time per buffer for ProcessInput. Components should locate the indexes of its input and output columns in the PipelineBuffer by calling the FindColumnByLineageID method of the BufferManager.

The following example shows how to locate the column indexes of the columns in the InputColumnCollection. They are stored in a local variable and then used in ProcessInput to access the columns in the PipelineBuffer.

No code example is currently available or this language may not be supported.
Return to top
© 2015 Microsoft