IDTSBuffer100.SetErrorInfo(Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- hRow
- Int32
- lOutputID
- Int32
- lErrorCode
- Int32
- lErrorColumn
- Int32
Remarks
This method is used to provide error information for a row that is directed to an asynchronous error output. When directing error rows for synchronous outputs, the DirectErrorRow method is used and the error code and error column information are included as parameters to the method.
The error code, defined by the component, must be greater than zero.
If the IDTSOutput100 object specified by the lOutputID
parameter is not an error output, a DTS_E_DIRECTTONONERROROUTPUT exception occurs.