Linguaggio

IDTSEvents100 Interfaccia

Definizione

Definisce i metodi per gli eventi.

public interface class IDTSEvents100
[System.Runtime.InteropServices.Guid("C003D4F1-7DC4-4EEC-A498-635F18B35296")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSEvents100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("5D3DE54E-2203-48ED-9C06-F72C8E10BD84")]
public interface IDTSEvents100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("2DA57214-161A-4748-9989-1F7DB695C2DF")]
public interface IDTSEvents100
[<System.Runtime.InteropServices.Guid("C003D4F1-7DC4-4EEC-A498-635F18B35296")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSEvents100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("5D3DE54E-2203-48ED-9C06-F72C8E10BD84")>]
type IDTSEvents100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("2DA57214-161A-4748-9989-1F7DB695C2DF")>]
type IDTSEvents100 = interface
Public Interface IDTSEvents100
Attributi

Metodi

Nome Descrizione
OnBreakpointHit(IDTSBreakpointSite100, IDTSBreakpointTarget100)

Chiamato quando viene raggiunto un punto di interruzione all'interno di un compito.

OnCustomEvent(IDTSTaskHost100, String, String, Object[], String, Boolean)

Chiamato dalle attività per generare eventi personalizzati definiti per le singole attività.

OnError(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean)

Viene chiamata da un'attività o un contenitore quando si verifica un errore.

OnExecutionStatusChanged(IDTSExecutable100, DTSExecStatus, Boolean)

Chiamato da un compito o un contenitore quando cambia lo stato dell'esecuzione.

OnInformation(IDTSRuntimeObject100, Int32, String, String, String, Int32, String, Boolean)

Chiamato ogni volta che il compito è richiesto per fornire informazioni.

OnPostExecute(IDTSExecutable100, Boolean)

Chiamato immediatamente dopo che la logica di esecuzione del compito si è completata. Questo evento viene generato da un'attività o da un contenitore immediatamente dopo la sua esecuzione.

OnPostValidate(IDTSExecutable100, Boolean)

Chiamato immediatamente dopo che la logica di validazione del compito si è completata. Questo evento viene generato da un compito dopo che il compito è stato validato.

OnPreExecute(IDTSExecutable100, Boolean)

Viene chiamata quando l'attività sta per essere eseguita. Questo evento viene generato da un'attività o da un contenitore immediatamente prima della sua esecuzione.

OnPreValidate(IDTSExecutable100, Boolean)

Chiamato quando inizia la logica di validazione effettiva del compito. Questo evento viene attivato quando inizia la validazione dell'host o del container del compito.

OnProgress(IDTSTaskHost100, String, Int32, Int32, Int32, String, Boolean)

Viene chiamata per aggiornare le informazioni sullo stato di esecuzione dell'attività.

OnQueryCancel(Boolean)

Indica un metodo chiamato in qualsiasi momento dell'elaborazione del compito dove è fattibile annullare l'esecuzione. Questo evento viene generato da compiti e contenitori per determinare se dovrebbero fermarsi in esecuzione.

OnTaskFailed(IDTSTaskHost100)

Viene chiamata dall'host delle attività in caso di errore.

OnVariableValueChanged(IDTSContainer100, IDTSVariable100, Boolean)

Chiamato dal motore di runtime. Non viene chiamato per compiti.

OnWarning(IDTSRuntimeObject100, Int32, String, String, String, Int32, String)

Chiamato ogni volta che il compito si trova in uno stato che non giustifica un errore, ma che giustifica un avviso al cliente.

Si applica a