IDTSEvents.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::DtsObject ^ source, int informationCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext, System::String ^ idofInterfaceWithError, bool % fireAgain);
public void OnInformation(Microsoft.SqlServer.Dts.Runtime.DtsObject source, int informationCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError, ref bool fireAgain);
abstract member OnInformation : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string * bool -> unit
Public Sub OnInformation (source As DtsObject, informationCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer, idofInterfaceWithError As String, ByRef fireAgain As Boolean)

Paramètres

source
DtsObject

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.

fireAgain
Boolean

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

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.

S’applique à