Partager via


IDTSBuffer90.DirectErrorRow Method

Sends a row in an IDTSBuffer90 object to an IDTSOutput90 whose IsErrorOut property is true.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
Sub DirectErrorRow ( _
    hRow As Integer, _
    lOutputID As Integer, _
    lErrorCode As Integer, _
    lErrorColumn As Integer _
)
void DirectErrorRow (
    int hRow,
    int lOutputID,
    int lErrorCode,
    int lErrorColumn
)
void DirectErrorRow (
    int hRow, 
    int lOutputID, 
    int lErrorCode, 
    int lErrorColumn
)
void DirectErrorRow (
    int hRow, 
    int lOutputID, 
    int lErrorCode, 
    int lErrorColumn
)
function DirectErrorRow (
    hRow : int, 
    lOutputID : int, 
    lErrorCode : int, 
    lErrorColumn : int
)

Paramètres

  • hRow
    The handle to the row being directed.
  • lOutputID
    The ID of the IDTSOutput90 object the row is sent to.
  • lErrorCode
    The component defined error code that identifies the error condition.
  • lErrorColumn
    The index of the column that caused the error condition.

Notes

This method is used by data flow components that have an error IDTSOutput90 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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace