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 方法,並將錯誤碼和錯誤資料行資訊當做參數加入至方法。
由元件定義的錯誤碼必須大於零。
如果參數所指定的 IDTSOutput100 物件 lOutputID 不是錯誤輸出,就會發生 DTS_E_DIRECTTONONERROROUTPUT 例外狀況。