Share via


IDTSRuntimeComponent100.PreExecute Method

Called after PrepareForExecute, and before PrimeOutput and ProcessInput. The developer can supply code that executes once before the component performs its main processing.

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

Syntax

'Declaration
Sub PreExecute
'Usage
Dim instance As IDTSRuntimeComponent100

instance.PreExecute()
void PreExecute()
void PreExecute()
abstract PreExecute : unit -> unit
function PreExecute()

Remarks

Component developers should factor as much functionality into PreExecute as possible because it is called only once per component execution, unlike ProcessInput, which is called once for each input buffer. Components should locate the indexes of their input and output columns in the IDTSBuffer100 by calling the FindColumnByLineageID method of the BufferManager.

See Also

Reference

IDTSRuntimeComponent100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace