Compartilhar via


Método IDTSBuffer100.DirectErrorRow

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 (em Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxe

'Declaração
Sub DirectErrorRow ( _
    hRow As Integer, _
    lOutputID As Integer, _
    lErrorCode As Integer, _
    lErrorColumn As Integer _
)
'Uso
Dim instance As IDTSBuffer100 
Dim hRow As Integer 
Dim lOutputID As Integer 
Dim lErrorCode As Integer 
Dim lErrorColumn As Integer

instance.DirectErrorRow(hRow, lOutputID, _
    lErrorCode, lErrorColumn)
void DirectErrorRow(
    int hRow,
    int lOutputID,
    int lErrorCode,
    int lErrorColumn
)
void DirectErrorRow(
    int hRow, 
    int lOutputID, 
    int lErrorCode, 
    int lErrorColumn
)
abstract DirectErrorRow : 
        hRow:int * 
        lOutputID:int * 
        lErrorCode:int * 
        lErrorColumn:int -> unit
function DirectErrorRow(
    hRow : int, 
    lOutputID : int, 
    lErrorCode : int, 
    lErrorColumn : int
)

Parâmetros

  • hRow
    Tipo: System.Int32
    The handle to the row being directed.
  • lErrorCode
    Tipo: System.Int32
    The component defined error code that identifies the error condition.
  • lErrorColumn
    Tipo: System.Int32
    The index of the column that caused the error condition.

Comentários

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.

Consulte também

Referência

IDTSBuffer100 Interface

Namespace Microsoft.SqlServer.Dts.Pipeline.Wrapper