共用方式為


IDTSEvents100.OnExecutionStatusChanged Method

Definition

Called by a task or container when its execution status changes.

public:
 void OnExecutionStatusChanged(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutable100 ^ pExec, Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecStatus newStatus, [Runtime::InteropServices::Out] bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(11)]
public void OnExecutionStatusChanged (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100 pExec, Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecStatus newStatus, out bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(11)>]
abstract member OnExecutionStatusChanged : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecStatus * bool -> unit
Public Sub OnExecutionStatusChanged (pExec As IDTSExecutable100, newStatus As DTSExecStatus, ByRef pbFireAgain As Boolean)

Parameters

pExec
IDTSExecutable100

The task raising the event.

newStatus
DTSExecStatus

The current status of the executable.

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