Sdílet prostřednictvím


IDTSBuffer100.DirectErrorRow(Int32, Int32, Int32, Int32) Method

Definition

Sends a row in an IDTSBuffer100 object to an IDTSOutput100 whose IsErrorOut property is true.

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)

Parameters

hRow
Int32

The handle to the row being directed.

lOutputID
Int32

The ID of the IDTSOutput100 object the row is sent to.

lErrorCode
Int32

The component defined error code that identifies the error condition.

lErrorColumn
Int32

The index of the column that caused the error condition.

Remarks

This method is used by data flow components that have an error IDTSOutput100 object identified by the IsErrorOut property. It is called by the component when it encounters an error while processing a column in the buffer, and the user of the component has set the ErrorRowDisposition of the column or row to RD_RedirectRow.

Managed component developers do not call this method but instead use the DirectErrorRow method of the managed PipelineBuffer class.

Applies to