Metoda PipelineBuffer.SetErrorInfo
Ustawia informacje o błędzie dla bieżącego PipelineBuffer wiersza.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Pipeline
Zestaw: Microsoft.SqlServer.PipelineHost (w Microsoft.SqlServer.PipelineHost.dll)
Składnia
'Deklaracja
Public Sub SetErrorInfo ( _
OutputID As Integer, _
ErrorCode As Integer, _
ErrorColumn As Integer _
)
'Użycie
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
)
Parametry
- OutputID
Typ: System.Int32
Identyfikator IDTSOutput100 obiekt, w którym PipelineBuffer Wystąpił błąd.
- ErrorCode
Typ: System.Int32
Numer błędu, który wystąpił.
- ErrorColumn
Typ: System.Int32
Identyfikator PipelineBuffer kolumna, w której wystąpił błąd.
Uwagi
SetErrorInfo Umożliwia zawierają szczegółowe informacje dotyczące błędu, który występuje podczas przetwarzania wiersza w PipelineBuffer.