IDTSEvents100.OnInformation Méthode

Définition

Appelée lorsque la tâche doit fournir des informations.

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)

Paramètres

pSource
IDTSRuntimeObject100

Source de l'erreur, objet qui a provoqué l'événement.

InformationCode
Int32

Valeur Integer qui identifie le message. Cet identificateur doit être unique lorsqu'il est associé au paramètre source. La combinaison source et informationCode doit donc être unique. Toutefois, le système ne s'attend pas à ce que informationCode soit unique lorsqu'il est employé seul.

SubComponent
String

Chaîne arbitraire qui identifie le sous-module au sein d'une source. Par exemple, la transformation dans une tâche Pipeline.

Description
String

Texte du message.

HelpFile
String

Chemin d'accès au fichier d'aide qui contient des informations détaillées.

HelpContext
Int32

Identificateur de la rubrique dans le fichier d'aide.

IDOfInterfaceWithError
String

Représentation textuelle du GUID de l'interface a l'origine de l'erreur.

pbFireAgain
Boolean

Valeur booléenne qui indique que cela doit continuer à déclencher ou arrêter le déclenchement. La valeur true indique qu’elle doit continuer à déclencher.

Attributs

Remarques

Par rapport à un avertissement, l’événement informationnel communique des informations importantes qui ne indiquent pas nécessairement une perte de données ou une autre cause de préoccupation. Toutefois, il est important qu’il justifie plus qu’une entrée de journal.

Pour plus d’informations, consultez IDTSEvents.

S’applique à