Partilhar via


IDTSRuntimeComponent90.PrepareForExecute Method

Called prior to PreExecute. The developer can supply code that executes once before the component performs its main processing and before the input buffers are available.

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

Syntax

'Declaration
<DispIdAttribute(12)> _
Sub PrepareForExecute
[DispIdAttribute(12)] 
void PrepareForExecute ()
[DispIdAttribute(12)] 
void PrepareForExecute ()
/** @attribute DispIdAttribute(12) */ 
void PrepareForExecute ()
DispIdAttribute(12) 
function PrepareForExecute ()

Remarks

Component developers may do some initialization in this method; however the BufferManager is not available until later when the PreExecute method is called.

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

IDTSRuntimeComponent90 Interface
IDTSRuntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace