PipelineBuffer.SetErrorInfo Method (Int32, Int32, Int32)

 

Applies To: SQL Server 2016 Preview

Sets the error information for the current PipelineBuffer row.

Namespace:   Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

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 Sub SetErrorInfo (
    OutputID As Integer,
    ErrorCode As Integer,
    ErrorColumn As Integer
)

Parameters

  • ErrorCode
    Type: System.Int32

    The error number that occurred.

Remarks

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

See Also

PipelineBuffer Class
Microsoft.SqlServer.Dts.Pipeline Namespace

Return to top