IDTSEvents100.OnInformation Metodo

Definizione

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

public:
 void OnInformation(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100 ^ pSource, int InformationCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext, System::String ^ IDOfInterfaceWithError, [Runtime::InteropServices::Out] bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(5)]
public void OnInformation(Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100 pSource, int InformationCode, string SubComponent, string Description, string HelpFile, int HelpContext, string IDOfInterfaceWithError, out bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member OnInformation : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100 * int * string * string * string * int * string * bool -> unit
Public Sub OnInformation (pSource As IDTSRuntimeObject100, InformationCode As Integer, SubComponent As String, Description As String, HelpFile As String, HelpContext As Integer, IDOfInterfaceWithError As String, ByRef pbFireAgain As Boolean)

Parametri

pSource
IDTSRuntimeObject100

La fonte dell'errore, l'oggetto che ha causato l'evento.

InformationCode
Int32

Un intero che identifica il messaggio. Questo identificatore dovrebbe essere unico quando combinato con il source parametro, quindi la source combinazione e informationCode dovrebbe essere unica. Tuttavia, non ci si aspetta che sia informationCode unico.

SubComponent
String

Una stringa arbitraria che identifica il sottomodulo all'interno di una sorgente. Ad esempio, la trasformazione in un compito Pipeline.

Description
String

Testo del messaggio.

HelpFile
String

Il percorso verso il file di aiuto contenente informazioni dettagliate.

HelpContext
Int32

Identificatore dell'argomento nel file di Aiuto.

IDOfInterfaceWithError
String

Una rappresentazione testuale del GUID dell'interfaccia che ha causato l'errore.

pbFireAgain
Boolean

Un booleano che indica questo dovrebbe continuare a sparare o fermarsi. Un valore di vero indica che dovrebbe continuare a sparare.

Attributi

Commenti

Rispetto a un avvertimento, l'evento informativo comunica informazioni importanti che non necessariamente indicano perdita di dati o altre cause di preoccupazione. Tuttavia, è abbastanza importante da giustificare più di una semplice registrazione di registro.

Per altre informazioni, vedere IDTSEvents.

Si applica a