次の方法で共有


DefaultEvents.OnInformation メソッド

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

名前空間:  Microsoft.SqlServer.Dts.Runtime
アセンブリ:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS.dll)

構文

'宣言
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 _
)
'使用
Dim instance As DefaultEvents 
Dim source As DtsObject 
Dim informationCode As Integer 
Dim subComponent As String 
Dim description As String 
Dim helpFile As String 
Dim helpContext As Integer 
Dim idofInterfaceWithError As String 
Dim fireAgain As Boolean

instance.OnInformation(source, informationCode, _
    subComponent, description, helpFile, _
    helpContext, idofInterfaceWithError, _
    fireAgain)
public virtual void OnInformation(
    DtsObject source,
    int informationCode,
    string subComponent,
    string description,
    string helpFile,
    int helpContext,
    string idofInterfaceWithError,
    ref bool fireAgain
)
public:
virtual void OnInformation(
    DtsObject^ source, 
    int informationCode, 
    String^ subComponent, 
    String^ description, 
    String^ helpFile, 
    int helpContext, 
    String^ idofInterfaceWithError, 
    bool% fireAgain
)
abstract OnInformation : 
        source:DtsObject * 
        informationCode:int * 
        subComponent:string * 
        description:string * 
        helpFile:string * 
        helpContext:int * 
        idofInterfaceWithError:string * 
        fireAgain:bool byref -> unit  
override OnInformation : 
        source:DtsObject * 
        informationCode:int * 
        subComponent:string * 
        description:string * 
        helpFile:string * 
        helpContext:int * 
        idofInterfaceWithError:string * 
        fireAgain:bool byref -> unit
public function OnInformation(
    source : DtsObject, 
    informationCode : int, 
    subComponent : String, 
    description : String, 
    helpFile : String, 
    helpContext : int, 
    idofInterfaceWithError : String, 
    fireAgain : boolean
)

パラメーター

  • informationCode
    型: System.Int32
    メッセージを識別する整数です。 source パラメーターと組み合わせる場合、source と informationCode の組み合わせが一意となるよう、この識別子は一意である必要があります。 ただし、informationCode が単独で一意である必要はありません。
  • subComponent
    型: System.String
    ソース内のサブモジュールを識別する任意の文字列です (パイプライン タスクの変換など)。
  • description
    型: System.String
    メッセージのテキストです。
  • helpFile
    型: System.String
    詳細な情報を含むヘルプ ファイルのパスです。
  • helpContext
    型: System.Int32
    ヘルプ ファイルのトピックの識別子です。
  • idofInterfaceWithError
    型: System.String
    エラーの原因となったインターフェイスの GUID のテキスト表現です。
  • fireAgain
    型: System.Boolean%
    クライアントがこのメッセージを受信するかどうかを示す Boolean です。 このイベントを将来再び受信する場合、クライアントはこれを true に設定する必要があります。

実装

IDTSEvents.OnInformation(DtsObject, Int32, String, String, String, Int32, String, Boolean%)

説明

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

関連項目

参照

DefaultEvents クラス

Microsoft.SqlServer.Dts.Runtime 名前空間