Share via


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

定义

将对象中的 IDTSBuffer100 行发送到 IDTSOutput100 其属性为 true 的 IsErrorOut 行。

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

导致错误条件的列的索引。

注解

此方法由具有由属性标识IsErrorOut的错误IDTSOutput100对象的数据流组件使用。 当组件在处理缓冲区中的列时遇到错误,组件的用户已将列或行RD_RedirectRow设置为 ErrorRowDisposition 时由组件调用。

托管组件开发人员不调用此方法,而是使用 DirectErrorRow 托管 PipelineBuffer 类的方法。

适用于