IDTSRuntimeComponent90.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.
Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Sintassi
'Dichiarazione
<DispIdAttribute(13)> _
Sub PreExecute
[DispIdAttribute(13)]
void PreExecute ()
[DispIdAttribute(13)]
void PreExecute ()
/** @attribute DispIdAttribute(13) */
void PreExecute ()
DispIdAttribute(13)
function PreExecute ()
Osservazioni
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 IDTSBuffer90 by calling the FindColumnByLineageID method of the BufferManager.
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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
IDTSRuntimeComponent90 Interface
IDTSRuntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace