SetErrorInfo 方法
Sets the error information for the current PipelineBuffer row.
命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.PipelineHost(在 Microsoft.SqlServer.PipelineHost.dll 中)
语法
声明
Public Sub SetErrorInfo ( _
OutputID As Integer, _
ErrorCode As Integer, _
ErrorColumn As Integer _
)
用法
Dim instance As PipelineBuffer
Dim OutputID As Integer
Dim ErrorCode As Integer
Dim ErrorColumn As Integer
instance.SetErrorInfo(OutputID, ErrorCode, _
ErrorColumn)
public void SetErrorInfo(
int OutputID,
int ErrorCode,
int ErrorColumn
)
public:
void SetErrorInfo(
int OutputID,
int ErrorCode,
int ErrorColumn
)
member SetErrorInfo :
OutputID:int *
ErrorCode:int *
ErrorColumn:int -> unit
public function SetErrorInfo(
OutputID : int,
ErrorCode : int,
ErrorColumn : int
)
参数
- OutputID
类型:System. . :: . .Int32
The ID of the IDTSOutput100 object in which the PipelineBuffer error occurred.
- ErrorCode
类型:System. . :: . .Int32
The error number that occurred.
- ErrorColumn
类型:System. . :: . .Int32
The ID 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.