IDTSEvents100.OnInformation Metodo

Definizione

Chiamato quando l'attività deve 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

Origine dell'errore, ovvero l'oggetto che ha provocato l'evento.

InformationCode
Int32

Integer che identifica il messaggio. Questo identificatore deve essere univoco se utilizzato in combinazione con il parametro source, pertanto la combinazione di source e informationCode deve essere univoca. Tuttavia, se utilizzato da solo, informationCode non deve essere univoco.

SubComponent
String

Stringa arbitraria che identifica il sottomodulo all'interno di un'origine: ad esempio, la trasformazione in un'attività Pipeline.

Description
String

Testo del messaggio.

HelpFile
String

Percorso del file della Guida che contiene informazioni dettagliate.

HelpContext
Int32

Identificatore dell'argomento nel file della Guida.

IDOfInterfaceWithError
String

Rappresentazione testuale del GUID dell'interfaccia che ha provocato l'errore.

pbFireAgain
Boolean

Valore booleano che indica che deve continuare a sparare o interrompere l'attivazione. Il valore true indica che deve continuare a sparare.

Attributi

Commenti

Rispetto a un avviso, l'evento informativo comunica informazioni importanti che non indicano necessariamente alcuna perdita di dati o altra causa di preoccupazione. Tuttavia, è abbastanza importante che garantisca più di una voce di log.

Per altre informazioni, vedere IDTSEvents.

Si applica a