DirectErrorRow méthode (Int32, Int32, Int32, Int32)
Sends a PipelineBuffer row to an IDTSOutput100 whose IsErrorOut property is true.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.PipelineHost (dans Microsoft.SqlServer.PipelineHost.dll)
Syntaxe
'Déclaration
Public Sub DirectErrorRow ( _
row As Integer, _
outputID As Integer, _
errorCode As Integer, _
errorColumn As Integer _
)
'Utilisation
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
)
Paramètres
- row
Type : System. . :: . .Int32
The index of the row to be directed to the error output.
- outputID
Type : System. . :: . .Int32
The ID of the error IDTSOutput100 to send the PipelineBuffer row.
- errorCode
Type : System. . :: . .Int32
The error number that occurred while processing the row.
- errorColumn
Type : System. . :: . .Int32
The ID of the PipelineBuffer column that caused the error.
Notes
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.