다음을 통해 공유


IDTSBuffer90.SetErrorInfo Method

Sets the error information for a row.

네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

구문

‘선언
Sub SetErrorInfo ( _
    hRow As Integer, _
    lOutputID As Integer, _
    lErrorCode As Integer, _
    lErrorColumn As Integer _
)
void SetErrorInfo (
    int hRow,
    int lOutputID,
    int lErrorCode,
    int lErrorColumn
)
void SetErrorInfo (
    int hRow, 
    int lOutputID, 
    int lErrorCode, 
    int lErrorColumn
)
void SetErrorInfo (
    int hRow, 
    int lOutputID, 
    int lErrorCode, 
    int lErrorColumn
)
function SetErrorInfo (
    hRow : int, 
    lOutputID : int, 
    lErrorCode : int, 
    lErrorColumn : int
)

매개 변수

  • hRow
    The row handle.
  • lOutputID
    The ID of the error IDTSOutput90 that the row was sent to.
  • lErrorCode
    The component defined error code that occurred while processing the column.
  • lErrorColumn
    The lineage ID of the column that causes the error.

주의

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 IDTSOutput90 object specified by the lOutputID parameter is not an error output, an DTS_E_DIRECTTONONERROROUTPUT exception occurs.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace