Поделиться через


Метод DescribeRedirectedErrorCode

Provides error code information for a PipelineBuffer row added to an output buffer.

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline
Сборка:  Microsoft.SqlServer.PipelineHost (в Microsoft.SqlServer.PipelineHost.dll)

Синтаксис

'Декларация
Public Overridable Function DescribeRedirectedErrorCode ( _
    iErrorCode As Integer _
) As String
'Применение
Dim instance As PipelineComponent
Dim iErrorCode As Integer
Dim returnValue As String

returnValue = instance.DescribeRedirectedErrorCode(iErrorCode)
public virtual string DescribeRedirectedErrorCode(
    int iErrorCode
)
public:
virtual String^ DescribeRedirectedErrorCode(
    int iErrorCode
)
abstract DescribeRedirectedErrorCode : 
        iErrorCode:int -> string 
override DescribeRedirectedErrorCode : 
        iErrorCode:int -> string 
public function DescribeRedirectedErrorCode(
    iErrorCode : int
) : String

Параметры

Возвращаемое значение

Тип System. . :: . .String
The description associated with the error code.

Замечания

The DescribeRedirectedErrorCode method returns the error descriptions for an error code that a component is sending to an error output. All other error codes should return DTS_E_NOERRORDESCFORCOMPONENT, indicating that the component does not know this error code. For more information, see Использование выводов ошибок в компоненте потока данных.