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