IDTSComponentEvents100.FireError メソッド

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

エラーが発生したときにイベントを発生させます。

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

構文

'宣言
Sub FireError ( _
    ErrorCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    <OutAttribute> ByRef pbCancel As Boolean _
)
'使用
Dim instance As IDTSComponentEvents100 
Dim ErrorCode As Integer 
Dim SubComponent As String 
Dim Description As String 
Dim HelpFile As String 
Dim HelpContext As Integer 
Dim pbCancel As Boolean

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

パラメーター

  • ErrorCode
    型: System.Int32
    エラー メッセージを識別する Integer です。
  • SubComponent
    型: System.String
    イベント ソースについての詳細を含む String です。
  • Description
    型: System.String
    メッセージのテキストです。
  • HelpFile
    型: System.String
    詳細な情報を含むヘルプ ファイルのパスです。
  • HelpContext
    型: System.Int32
    ヘルプ ファイルのトピックの識別子です。
  • pbCancel
    型: System.Boolean%
    このメソッドから制御が戻ったとき、イベントを引き続き発生させるかどうかを示す Boolean が格納されます。 値が true の場合、イベントが引き続き発生します。 値が false の場合、イベントはそれ以上発生しません。 このパラメーターは初期化せずに渡されます。

関連項目

参照

IDTSComponentEvents100 インターフェイス

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