PipelineBuffer::DirectErrorRow Method (Int32, Int32, Int32)

 

Sends a PipelineBuffer row to an IDTSOutput100 whose IsErrorOut property is true.

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

public:
void DirectErrorRow(
	int outputID,
	int errorCode,
	int errorColumn
)

Parameters

outputID
Type: System::Int32

The ID of the error IDTSOutput100 to send the PipelineBuffer row.

errorCode
Type: System::Int32

The error number that occurred while processing the row.

errorColumn
Type: System::Int32

The ID of the PipelineBuffer column that caused the error.

This method is used by data flow components that have IDTSOutput100 objects with the IsErrorOut property set to true. It is called by the component when it encounters an error processing a buffer row, and when RD_RedirectRow is specified on the input, output, or column.

The following code example demonstrates how to direct a row in a buffer to a synchronous error output by using the DirectErrorRow method.

No code example is currently available or this language may not be supported.
Return to top
Show: