共用方式為


IDTSEvents100.OnPreExecute(IDTSExecutable100, 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::Wrapper::IDTSExecutable100 ^ pExec, bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(0)]
public void OnPreExecute (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100 pExec, ref bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member OnPreExecute : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100 * bool -> unit
Public Sub OnPreExecute (pExec As IDTSExecutable100, ByRef pbFireAgain As Boolean)

Parameters

pExec
IDTSExecutable100

The task that is to execute next.

pbFireAgain
Boolean

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

Attributes

Remarks

For more information, see IDTSEvents.

Applies to