IDTSInfoEvents100.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 IDTSInfoEvents100 
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
    エラー メッセージです。
  • SubComponent
    型: System.String
    ソース内のサブモジュールです。
  • Description
    型: System.String
    メッセージのテキストです。
  • HelpFile
    型: System.String
    詳細な情報を含むヘルプ ファイルのパスです。
  • HelpContext
    型: System.Int32
    ヘルプ ファイルのトピックの識別子です。
  • pbCancel
    型: System.Boolean%
    起動処理を取り消すか続行するかを示す Boolean です。

関連項目

参照

IDTSInfoEvents100 インターフェイス

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