Share via


PackageUpgradeResult.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.

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

Syntax

'Declaration
Public Sub OnPreExecute ( _
    exec As Executable, _
    ByRef fireAgain As Boolean _
)
'Usage
Dim instance As PackageUpgradeResult 
Dim exec As Executable 
Dim fireAgain As Boolean

instance.OnPreExecute(exec, fireAgain)
public void OnPreExecute(
    Executable exec,
    ref bool fireAgain
)
public:
virtual void OnPreExecute(
    Executable^ exec, 
    bool% fireAgain
) sealed
abstract OnPreExecute : 
        exec:Executable * 
        fireAgain:bool byref -> unit  
override OnPreExecute : 
        exec:Executable * 
        fireAgain:bool byref -> unit
public final function OnPreExecute(
    exec : Executable, 
    fireAgain : boolean
)

Parameters

  • fireAgain
    Type: System.Boolean%
    True if the object should continue firing; otherwise, false.

Implements

IDTSEvents.OnPreExecute(Executable, Boolean%)

See Also

Reference

PackageUpgradeResult Class

Microsoft.SqlServer.Dts.Runtime Namespace