IDTSBuffer100.SetErrorInfo(Int32, Int32, Int32, Int32) メソッド

定義

public:
 void SetErrorInfo(int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
public void SetErrorInfo(int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
abstract member SetErrorInfo : int * int * int * int -> unit
Public Sub SetErrorInfo (hRow As Integer, lOutputID As Integer, lErrorCode As Integer, lErrorColumn As Integer)

パラメーター

hRow
Int32
lOutputID
Int32
lErrorCode
Int32
lErrorColumn
Int32

注釈

この方法は、非同期エラー出力に導かれた行の誤り情報を提供するために用いられます。 同期出力のエラー行を指示する際は DirectErrorRow メソッドが用いられ、エラーコードとエラー列情報がメソッドのパラメータとして含まれます。

コンポーネントによって定義されるエラーコードは、0より大きくなければなりません。

lOutputIDパラメータで指定されたIDTSOutput100オブジェクトがエラー出力でない場合、DTS_E_DIRECTTONONERROROUTPUT例外が発生します。

適用対象