Share via


IDTSEvents100.OnPreExecute Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub OnPreExecute ( _
    pExec As IDTSExecutable100, _
    ByRef pbFireAgain As Boolean _
)
'Usage
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
)

Parameters

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

Remarks

For more information, see IDTSEvents.

See Also

Reference

IDTSEvents100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace