共用方式為


IDTSEvents100.OnPreExecute 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub OnPreExecute ( _
    pExec As IDTSExecutable100, _
    ByRef pbFireAgain As Boolean _
)
'用途
Dim instance As IDTSEvents100 
Dim pExec As IDTSExecutable100 
Dim pbFireAgain As Boolean

instance(pExec, pbFireAgain)
void OnPreExecute(
    IDTSExecutable100 pExec,
    ref bool pbFireAgain
)
void OnPreExecute(
    [InAttribute] IDTSExecutable100^ pExec, 
    bool% pbFireAgain
)
abstract OnPreExecute : 
        pExec:IDTSExecutable100 * 
        pbFireAgain:bool byref -> unit
function OnPreExecute(
    pExec : IDTSExecutable100, 
    pbFireAgain : boolean
)

參數

  • pbFireAgain
    型別:System.Boolean%
    A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

備註

For more information, see IDTSEvents.

請參閱

參考

IDTSEvents100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間