DefaultEvents.OnInformation メソッド

定義

このイベントは、タスクが情報を提供する際に随時発生します。

public:
 virtual 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 virtual 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
override this.OnInformation : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string * bool -> unit
Public Overridable 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)

パラメーター

source
DtsObject

イベントの原因になったオブジェクトです。

informationCode
Int32

メッセージを識別する整数です。 source パラメーターと組み合わせる場合、sourceinformationCode の組み合わせが一意となるよう、この識別子は一意である必要があります。 ただし、informationCode が単独で一意である必要はありません。

subComponent
String

ソース内のサブモジュールを識別する任意の文字列です (パイプライン タスクの変換など)。

description
String

メッセージのテキストです。

helpFile
String

詳細な情報を含むヘルプ ファイルのパスです。

helpContext
Int32

ヘルプ ファイルのトピックの識別子です。

idofInterfaceWithError
String

エラーの原因となったインターフェイスの GUID のテキスト表現です。

fireAgain
Boolean

クライアントがこのメッセージを受信するかどうかを示すブール値。 クライアントは、今後このイベントを再び受信する場合は、これを true に設定する必要があります。

実装

注釈

情報イベントで通知される情報には、警告と比較すると、データの損失やその他の問題の原因が必ずしも示されているわけではありませんが、 ログ エントリ以上の根拠を伴う重要性があります。

適用対象