次の方法で共有


IDTSEvents.OnInformation メソッド

情報を提供するためにタスクが必要な場合に呼び出されます。

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

構文

'宣言
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 IDTSEvents 
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)
void OnInformation(
    DtsObject source,
    int informationCode,
    string subComponent,
    string description,
    string helpFile,
    int helpContext,
    string idofInterfaceWithError,
    ref bool fireAgain
)
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
function OnInformation(
    source : DtsObject, 
    informationCode : int, 
    subComponent : String, 
    description : String, 
    helpFile : String, 
    helpContext : int, 
    idofInterfaceWithError : String, 
    fireAgain : boolean
)

パラメーター

  • informationCode
    型: System.Int32
    メッセージを識別する Integer です。 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 インターフェイス

Microsoft.SqlServer.Dts.Runtime 名前空間