共用方式為


IDTSEvents.OnPreExecute(Executable, Boolean) Method

Definition

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

public:
 void OnPreExecute(Microsoft::SqlServer::Dts::Runtime::Executable ^ exec, bool % fireAgain);
public void OnPreExecute (Microsoft.SqlServer.Dts.Runtime.Executable exec, ref bool fireAgain);
abstract member OnPreExecute : Microsoft.SqlServer.Dts.Runtime.Executable * bool -> unit
Public Sub OnPreExecute (exec As Executable, ByRef fireAgain As Boolean)

Parameters

exec
Executable

The task that is to execute next.

fireAgain
Boolean

A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

Applies to