共用方式為


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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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