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

 

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

Namespace:   Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

void DirectErrorRow(
	int hRow,
	int lOutputID,
	int lErrorCode,
	int lErrorColumn
)

Parameters

hRow
Type: System.Int32

The handle to the row being directed.

lOutputID
Type: System.Int32

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

lErrorCode
Type: System.Int32

The component defined error code that identifies the error condition.

lErrorColumn
Type: System.Int32

The index of the column that caused the error condition.

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.

Return to top
Show: