IDTSBuffer100.SetErrorInfo(Int32, Int32, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 方法,并将错误代码和错误列信息作为参数包含到方法中。
由组件定义的错误代码必须大于零。
如果参数指定的 IDTSOutput100 对象 lOutputID 不是错误输出,则会出现 DTS_E_DIRECTTONONERROROUTPUT 异常。