IDTSEvents100.OnInformation Méthode

Définition

Appelée à chaque fois que la tâche est requise pour 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

La source de l’erreur, l’objet qui a causé l’événement.

InformationCode
Int32

Un entier qui identifie le message. Cet identifiant doit être unique lorsqu’il est combiné avec le source paramètre, donc la source combinaison et informationCode doit être unique. Cependant, il n’est pas censé informationCode être unique à lui seul.

SubComponent
String

Une 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

Le chemin vers le fichier d’aide contenant des informations détaillées.

HelpContext
Int32

Identifiant du sujet dans le fichier d’aide.

IDOfInterfaceWithError
String

Une représentation textuelle de l’interface qui a causé l’erreur.

pbFireAgain
Boolean

Un booléen qui indique que cela doit continuer ou cesser de tirer. Une valeur de vrai indique qu’il doit continuer à tirer.

Attributs

Remarques

Comparé à un avertissement, l’événement informationnel communique des informations importantes qui ne désignent pas nécessairement une perte de données ou une autre cause d’inquiétude. Cependant, elle est suffisamment importante pour justifier plus qu’une simple entrée de journal.

Pour plus d’informations, consultez IDTSEvents.

S’applique à