IDTSEvents.OnInformation メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
タスクで情報提供が必要な場合はいつでも呼び出されます。
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)
パラメーター
- source
- DtsObject
エラーの原因、その出来事を引き起こした物体。
- informationCode
- Int32
メッセージを識別する整数。 この識別子は source パラメータと組み合わせると一意であるべきなので、 source と informationCode の組み合わせも一意であるべきです。 しかし、 informationCode だけでは唯一無二とは期待されていません。
- subComponent
- String
ソース内の部分加群を識別する任意の文字列です。 例えば、パイプラインタスクの変換です。
- description
- String
メッセージのテキスト。
- helpFile
- String
詳細情報を含むヘルプファイルへのパス。
- helpContext
- Int32
ヘルプファイル内のトピックの識別子。
- idofInterfaceWithError
- String
エラーを引き起こしたインターフェースのGUIDのテキスト表現。
- fireAgain
- Boolean
このブール値が発射を続けるか、発射停止すべきかを示します。 真の値は、発射を続けるべきであることを示します。
注釈
警告と比べて、情報イベントは必ずしもデータ損失やその他の懸念事項を示すものではない重要な情報を伝えます。 しかし、ログ記録以上の価値があるほど重要な存在です。