Share via


PipelineBuffer.DirectErrorRow Method (Int32, 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)

Syntax

'Declaration
Public Sub DirectErrorRow ( _
    row As Integer, _
    outputID As Integer, _
    errorCode As Integer, _
    errorColumn As Integer _
)
'Usage
Dim instance As PipelineBuffer 
Dim row As Integer 
Dim outputID As Integer 
Dim errorCode As Integer 
Dim errorColumn As Integer

instance.DirectErrorRow(row, outputID, _
    errorCode, errorColumn)
public void DirectErrorRow(
    int row,
    int outputID,
    int errorCode,
    int errorColumn
)
public:
void DirectErrorRow(
    int row, 
    int outputID, 
    int errorCode, 
    int errorColumn
)
member DirectErrorRow : 
        row:int * 
        outputID:int * 
        errorCode:int * 
        errorColumn:int -> unit
public function DirectErrorRow(
    row : int, 
    outputID : int, 
    errorCode : int, 
    errorColumn : int
)

Parameters

  • row
    Type: System.Int32
    The index of the row to be directed to the error output.
  • errorCode
    Type: System.Int32
    The error number that occurred while processing the row.

Remarks

A data flow component calls this method if the data flow component has IDTSOutput100 objects whose respective IsErrorOut properties are set to true. The component calls this method when the component encounters an error processing a buffer row, and when RD_RedirectRow is specified on the input, output, or column.

See Also

Reference

PipelineBuffer Class

DirectErrorRow Overload

Microsoft.SqlServer.Dts.Pipeline Namespace