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


Метод DescribeRedirectedErrorCode

Returns the description of an error code defined by the component.

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

Синтаксис

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

returnValue = instance.DescribeRedirectedErrorCode(hrErrorCode)
public virtual string DescribeRedirectedErrorCode(
    int hrErrorCode
)
public:
virtual String^ DescribeRedirectedErrorCode(
    [InAttribute] int hrErrorCode
)
abstract DescribeRedirectedErrorCode : 
        hrErrorCode:int -> string 
override DescribeRedirectedErrorCode : 
        hrErrorCode:int -> string 
public function DescribeRedirectedErrorCode(
    hrErrorCode : int
) : String

Параметры

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

Тип System. . :: . .String
A String that contains a description for the error code specified by the errorCode parameter.

Реализует интерфейс

IDTSDesigntimeComponent100. . :: . .DescribeRedirectedErrorCode(Int32)

Замечания

This method is called during component execution to retrieve a description of the error code provided by the component when a row from an IDTSBuffer100 was redirected to the error output of the component.