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

定义

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

参数

hRow
Int32
lOutputID
Int32
lErrorCode
Int32
lErrorColumn
Int32

注解

该方法用于为指向异步错误输出的行提供错误信息。 在为同步输出定向错误行时,会使用DirectErrorRow方法,并将错误代码和错误列信息作为参数加入方法。

由组件定义的错误码必须大于零。

如果参数指定的 lOutputID IDTSOutput100对象不是错误输出,则会出现DTS_E_DIRECTTONONERROROUTPUT异常。

适用于