Condividi tramite


PipelineBuffer.SetErrorInfo Method

Sets the error information for the current PipelineBuffer row.

Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Sintassi

'Dichiarazione
Public Sub SetErrorInfo ( _
    OutputID As Integer, _
    ErrorCode As Integer, _
    ErrorColumn As Integer _
)
public void SetErrorInfo (
    int OutputID,
    int ErrorCode,
    int ErrorColumn
)
public:
void SetErrorInfo (
    int OutputID, 
    int ErrorCode, 
    int ErrorColumn
)
public void SetErrorInfo (
    int OutputID, 
    int ErrorCode, 
    int ErrorColumn
)
public function SetErrorInfo (
    OutputID : int, 
    ErrorCode : int, 
    ErrorColumn : int
)

Parametri

  • ErrorCode
    The error number that occurred.
  • ErrorColumn
    The index of the PipelineBuffer column where the error occurred.

Osservazioni

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace