次の方法で共有


IDTSComponentMetaData100.FireInformation メソッド

OnInformation イベントを発生させます。

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap.dll)

構文

'宣言
Sub FireInformation ( _
    InformationCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    <OutAttribute> ByRef pbFireAgain As Boolean _
)
'使用
Dim instance As IDTSComponentMetaData100 
Dim InformationCode As Integer 
Dim SubComponent As String 
Dim Description As String 
Dim HelpFile As String 
Dim HelpContext As Integer 
Dim pbFireAgain As Boolean

instance.FireInformation(InformationCode, _
    SubComponent, Description, HelpFile, _
    HelpContext, pbFireAgain)
void FireInformation(
    int InformationCode,
    string SubComponent,
    string Description,
    string HelpFile,
    int HelpContext,
    out bool pbFireAgain
)
void FireInformation(
    [InAttribute] int InformationCode, 
    [InAttribute] String^ SubComponent, 
    [InAttribute] String^ Description, 
    [InAttribute] String^ HelpFile, 
    [InAttribute] int HelpContext, 
    [InAttribute] [OutAttribute] bool% pbFireAgain
)
abstract FireInformation : 
        InformationCode:int * 
        SubComponent:string * 
        Description:string * 
        HelpFile:string * 
        HelpContext:int * 
        pbFireAgain:bool byref -> unit
function FireInformation(
    InformationCode : int, 
    SubComponent : String, 
    Description : String, 
    HelpFile : String, 
    HelpContext : int, 
    pbFireAgain : boolean
)

パラメーター

  • InformationCode
    型: System.Int32
    コンポーネント定義の情報コードです。
  • SubComponent
    型: System.String
    イベントを発生させるコンポーネントの名前です。
  • Description
    型: System.String
    情報イベントの説明です。
  • HelpFile
    型: System.String
    情報イベントに関する詳細な情報を提供するヘルプ ファイルです。
  • HelpContext
    型: System.Int32
    情報のコンテキスト ID です。
  • pbFireAgain
    型: System.Boolean%
    イベントを将来再び発生させるかどうかを指定します。

説明

コンポーネントのデザイン時には情報は視覚的にキャプチャされないため、OnInformation イベントはコンポーネントの実行時にのみ発生します。

pbFireAgain パラメーターはランタイムで設定され、任意のクライアントがイベントを待機しているかどうかを示します。 コンポーネントはこのパラメーターの値をローカルに格納し、再度イベントを発生させる前に値を評価します。 pbFireAgain パラメーターの値が false である場合、イベントは発生しません。

関連項目

参照

IDTSComponentMetaData100 インターフェイス

Microsoft.SqlServer.Dts.Pipeline.Wrapper 名前空間