Share via


IDTSEvents.OnExecutionStatusChanged Metodo

Definizione

Chiamato da un'attività o da un contenitore quando cambia il suo stato di esecuzione.

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

Parametri

exec
Executable

Attività che genera l'evento.

newStatus
DTSExecStatus

Stato corrente del file eseguibile.

fireAgain
Boolean

Valore booleano che indica che deve continuare a sparare o arrestare il fuoco. Un valore true indica che deve continuare a sparare.

Commenti

La tabella seguente mostra i valori che newStatus conterrà:

newStatus Descrizione
Abend L'attività ha rilevato un errore interno e ha terminato l'esecuzione in modo anomalo.
Completed L'attività ha completato l'esecuzione con un esito positivo o negativo.
Executing L'attività è in esecuzione.
None L'attività è inattiva. Valore predefinito.
Suspended L'attività è attualmente sospesa a causa di un colpo di punto di interruzione.
Validating L'attività è in fase di convalida.

Si applica a