IDTSBuffer100.DirectErrorRow(Int32, Int32, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將物件中的IDTSBuffer100一列傳送到屬性IsErrorOut為真的。IDTSOutput100
public:
void DirectErrorRow(int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
public void DirectErrorRow(int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
abstract member DirectErrorRow : int * int * int * int -> unit
Public Sub DirectErrorRow (hRow As Integer, lOutputID As Integer, lErrorCode As Integer, lErrorColumn As Integer)
參數
- hRow
- Int32
指向該行的把手。
- lOutputID
- Int32
該列被傳送到物件的 IDTSOutput100 ID。
- lErrorCode
- Int32
元件定義了識別錯誤條件的錯誤碼。
- lErrorColumn
- Int32
造成錯誤條件的欄位索引。
備註
此方法用於具有 IDTSOutput100 錯誤物件的資料流元件,該元件由該 IsErrorOut 屬性識別。 當元件在處理緩衝區中的欄位時遇到錯誤,且使用者已將欄位或列的 設定 ErrorRowDisposition 為 RD_RedirectRow。
受管理元件開發者不會呼叫此方法,而是使用 DirectErrorRow 受管理 PipelineBuffer 類別的方法。