Udostępnij przez


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

'Deklaracja
Public Sub DirectErrorRow ( _
    row As Integer, _
    outputID As Integer, _
    errorCode As Integer, _
    errorColumn As Integer _
)
public void DirectErrorRow (
    int row,
    int outputID,
    int errorCode,
    int errorColumn
)
public:
void DirectErrorRow (
    int row, 
    int outputID, 
    int errorCode, 
    int errorColumn
)
public void DirectErrorRow (
    int row, 
    int outputID, 
    int errorCode, 
    int errorColumn
)
public function DirectErrorRow (
    row : int, 
    outputID : int, 
    errorCode : int, 
    errorColumn : int
)

Parameters

  • row
    The index of the row to be directed to the error output.
  • errorCode
    The error number that occurred while processing the row.
  • errorColumn
    The ID of the PipelineBuffer column that caused the error.

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.