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


CManagedComponentWrapperClass.DescribeRedirectedErrorCode Method

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

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

Синтаксис

'Декларация
<DispIdAttribute(35)> _
Public Overridable Function DescribeRedirectedErrorCode ( _
    <InAttribute> hrErrorCode As Integer _
) As String Implements IDTSDesigntimeComponent90.DescribeRedirectedErrorCode
[DispIdAttribute(35)] 
public virtual string IDTSDesigntimeComponent90.DescribeRedirectedErrorCode (
    [InAttribute] int hrErrorCode
)
[DispIdAttribute(35)] 
public:
virtual String^ DescribeRedirectedErrorCode (
    [InAttribute] int hrErrorCode
) = IDTSDesigntimeComponent90::DescribeRedirectedErrorCode
J# поддерживает использование явных реализаций интерфейса, но не объявление новых.
JScript поддерживает использование явных реализаций интерфейса, но не объявление новых.

Параметры

  • hrErrorCode
    The error code whose description is retrieved.

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

A String that contains a description for the error code specified by the errorCode parameter.

Замечания

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

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

CManagedComponentWrapperClass Class
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace