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 方法,並將錯誤代碼與錯誤欄位資訊作為參數納入方法。

由元件定義的錯誤碼必須大於零。

如果 IDTSOutput100 參數指定的 lOutputID 物件不是錯誤輸出,則 DTS_E_DIRECTTONONERROROUTPUT 會發生例外。

適用於