Compartir a través de


PipelineBuffer.SetErrorInfo Método

Sets the error information for the current PipelineBuffer row.

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline
Ensamblado:  Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)

Sintaxis

'Declaración
Public Sub SetErrorInfo ( _
    OutputID As Integer, _
    ErrorCode As Integer, _
    ErrorColumn As Integer _
)
'Uso
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
)

Parámetros

  • ErrorCode
    Tipo: System.Int32
    The error number that occurred.

Comentarios

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

Vea también

Referencia

PipelineBuffer Clase

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline