共用方式為


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
)

參數

備註

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.