PreExecute 方法

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

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Sub PreExecute
用法
Dim instance As IDTSRuntimeComponent100

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

注释

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.