Share via


DefaultEvents.OnExecutionStatusChanged Metodo

Definizione

Questo evento viene generato da un'attività o da un contenitore quando cambia il suo stato di esecuzione.

public:
 virtual void OnExecutionStatusChanged(Microsoft::SqlServer::Dts::Runtime::Executable ^ exec, Microsoft::SqlServer::Dts::Runtime::DTSExecStatus newStatus, bool % fireAgain);
public virtual 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
override this.OnExecutionStatusChanged : Microsoft.SqlServer.Dts.Runtime.Executable * Microsoft.SqlServer.Dts.Runtime.DTSExecStatus * bool -> unit
Public Overridable 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 se questo deve continuare a sparare o arrestare l'attivazione. Un valore true indica che deve continuare a sparare.

Implementazioni

Commenti

La tabella seguente mostra i valori che newStatus conterrà:

newStatus Descrizione
Abend L'attività ha riscontrato 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