次の方法で共有


IDTSInfoEvents.FireError メソッド

エラーを発生させます。

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

構文

'宣言
Function FireError ( _
    errorCode As Integer, _
    subComponent As String, _
    description As String, _
    helpFile As String, _
    helpContext As Integer _
) As Boolean
'使用
Dim instance As IDTSInfoEvents 
Dim errorCode As Integer 
Dim subComponent As String 
Dim description As String 
Dim helpFile As String 
Dim helpContext As Integer 
Dim returnValue As Boolean 

returnValue = instance.FireError(errorCode, _
    subComponent, description, helpFile, _
    helpContext)
bool FireError(
    int errorCode,
    string subComponent,
    string description,
    string helpFile,
    int helpContext
)
bool FireError(
    int errorCode, 
    String^ subComponent, 
    String^ description, 
    String^ helpFile, 
    int helpContext
)
abstract FireError : 
        errorCode:int * 
        subComponent:string * 
        description:string * 
        helpFile:string * 
        helpContext:int -> bool
function FireError(
    errorCode : int, 
    subComponent : String, 
    description : String, 
    helpFile : String, 
    helpContext : int
) : boolean

パラメーター

  • errorCode
    型: System.Int32
    エラー メッセージを識別する Integer です。
  • subComponent
    型: System.String
    ソース内のサブモジュールを識別する任意の文字列です (パイプライン タスクの変換など)。
  • description
    型: System.String
    メッセージのテキストです。
  • helpFile
    型: System.String
    詳細な情報を含むヘルプ ファイルのパスです。
  • helpContext
    型: System.Int32
    ヘルプ ファイルのトピックの識別子です。

戻り値

型: System.Boolean
起動処理を続行するか停止するかを示す Boolean です。値が true の場合、起動処理が続行されます。

説明

失敗に関する情報を提供します。

関連項目

参照

IDTSInfoEvents インターフェイス

Microsoft.SqlServer.Dts.Runtime 名前空間