PipelineBuffer.SetErrorInfo Method

Sets the error information for the current PipelineBuffer row.

命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

语法

声明
Public Sub SetErrorInfo ( _
    OutputID As Integer, _
    ErrorCode As Integer, _
    ErrorColumn As Integer _
)
public void SetErrorInfo (
    int OutputID,
    int ErrorCode,
    int ErrorColumn
)
public:
void SetErrorInfo (
    int OutputID, 
    int ErrorCode, 
    int ErrorColumn
)
public void SetErrorInfo (
    int OutputID, 
    int ErrorCode, 
    int ErrorColumn
)
public function SetErrorInfo (
    OutputID : int, 
    ErrorCode : int, 
    ErrorColumn : int
)

参数

  • ErrorCode
    The error number that occurred.
  • ErrorColumn
    The index of the PipelineBuffer column where the error occurred.

备注

The SetErrorInfo allows you to provide specific information about an error that occurs while processing a row in the PipelineBuffer.

线程安全

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 的硬件和软件要求。

请参阅

参考

PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace