PipelineBuffer.DirectErrorRow 方法 (Int32, Int32, Int32, Int32)
Sends a PipelineBuffer row to an IDTSOutput100 whose IsErrorOut property is true.
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
Public Sub DirectErrorRow ( _
row As Integer, _
outputID As Integer, _
errorCode As Integer, _
errorColumn As Integer _
)
'用途
Dim instance As PipelineBuffer
Dim row As Integer
Dim outputID As Integer
Dim errorCode As Integer
Dim errorColumn As Integer
instance.DirectErrorRow(row, outputID, _
errorCode, errorColumn)
public void DirectErrorRow(
int row,
int outputID,
int errorCode,
int errorColumn
)
public:
void DirectErrorRow(
int row,
int outputID,
int errorCode,
int errorColumn
)
member DirectErrorRow :
row:int *
outputID:int *
errorCode:int *
errorColumn:int -> unit
public function DirectErrorRow(
row : int,
outputID : int,
errorCode : int,
errorColumn : int
)
參數
- row
型別:System.Int32
The index of the row to be directed to the error output.
- outputID
型別:System.Int32
The ID of the error IDTSOutput100 to send the PipelineBuffer row.
- errorCode
型別:System.Int32
The error number that occurred while processing the row.
- errorColumn
型別:System.Int32
The ID of the PipelineBuffer column that caused the error.
備註
A data flow component calls this method if the data flow component has IDTSOutput100 objects whose respective IsErrorOut properties are set to true. The component calls this method when the component encounters an error processing a buffer row, and when RD_RedirectRow is specified on the input, output, or column.