PipelineComponent.DescribeRedirectedErrorCode Method

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

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
Public Overridable Function DescribeRedirectedErrorCode ( _
    iErrorCode As Integer _
) As String
public virtual string DescribeRedirectedErrorCode (
    int iErrorCode
)
public:
virtual String^ DescribeRedirectedErrorCode (
    int iErrorCode
)
public String DescribeRedirectedErrorCode (
    int iErrorCode
)
public function DescribeRedirectedErrorCode (
    iErrorCode : int
) : String

參數

  • iErrorCode
    The error code that is described.

傳回值

The description associated with the error code.

備註

更新的文字:2006 年 7 月 17 日

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 Using Error Outputs in a Data Flow 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 的硬體和軟體需求>。

請參閱

參考

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace