语言

IDTSBuffer100.DirectErrorRow(Int32, Int32, Int32, Int32) 方法

定义

将对象中的IDTSBuffer100一行发送到属性IsErrorOut为真的对象IDTSOutput100

public:
 void DirectErrorRow(int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
public void DirectErrorRow(int hRow, int lOutputID, int lErrorCode, int lErrorColumn);
abstract member DirectErrorRow : int * int * int * int -> unit
Public Sub DirectErrorRow (hRow As Integer, lOutputID As Integer, lErrorCode As Integer, lErrorColumn As Integer)

参数

hRow
Int32

指向那排的把手。

lOutputID
Int32

该行被发送到对象的 IDTSOutput100 ID。

lErrorCode
Int32

组件定义了识别错误条件的错误代码。

lErrorColumn
Int32

导致错误条件的列索引。

注解

该方法用于具有 IDTSOutput100 错误对象的数据流组件,这些组件通过该 IsErrorOut 属性识别错误对象。 当组件在处理缓冲区中的某列时遇到错误,且该组件的用户将该列或行RD_RedirectRow的 设置为 ErrorRowDisposition

受管组件开发者不调用该方法,而是使用 DirectErrorRow 受管 PipelineBuffer 类的方法。

适用于