Condividi tramite


Metodo IDTSEvents.OnPreExecute

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Sub OnPreExecute ( _
    exec As Executable, _
    ByRef fireAgain As Boolean _
)
'Utilizzo
Dim instance As IDTSEvents 
Dim exec As Executable 
Dim fireAgain As Boolean

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

Parametri

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

Vedere anche

Riferimento

IDTSEvents Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime