共用方式為


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.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

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

備註

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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