IDTSBuffer100.SetErrorInfo(Int32, Int32, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 方法,並將錯誤代碼與錯誤欄位資訊作為參數納入方法。
由元件定義的錯誤碼必須大於零。
如果參數指定的 lOutputID IDTSOutput100 物件不是錯誤輸出,則會發生DTS_E_DIRECTTONONERROROUTPUT例外。