DefaultEvents.OnExecutionStatusChanged(Executable, DTSExecStatus, Boolean) 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 la generazione dell'oggetto deve continuare o essere arrestata. Il valore true indica che la generazione deve continuare.

Implementazioni

Commenti

Nella tabella seguente vengono illustrati i valori che conterranno newStatus :

newStatus Descrizione
Abend Si è verificato un errore interno e l'esecuzione è stata terminata 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 punto di interruzione raggiunto.
Validating L'attività è in fase di convalida.

Si applica a