Compartilhar via


Método PipelineBuffer.DirectErrorRow (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 (em Microsoft.SqlServer.PipelineHost.dll)

Sintaxe

'Declaração
Public Sub DirectErrorRow ( _
    row As Integer, _
    outputID As Integer, _
    errorCode As Integer, _
    errorColumn As Integer _
)
'Uso
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
)

Parâmetros

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

Comentários

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.

Consulte também

Referência

PipelineBuffer Classe

Sobrecarregado DirectErrorRow

Namespace Microsoft.SqlServer.Dts.Pipeline