IDTSEvents.OnInformation Metodo

Definizione

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

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)

Parametri

source
DtsObject

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.

fireAgain
Boolean

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

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.

Si applica a