IDTSVirtualInputColumn90.DescribeRedirectedErrorCode Method

Gets the error message for the error code on the upstream output column.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(128)> _
Function DescribeRedirectedErrorCode ( _
    <InAttribute> hrErrorCode As Integer _
) As String
[DispIdAttribute(128)] 
string DescribeRedirectedErrorCode (
    [InAttribute] int hrErrorCode
)
[DispIdAttribute(128)] 
String^ DescribeRedirectedErrorCode (
    [InAttribute] int hrErrorCode
)
/** @attribute DispIdAttribute(128) */ 
String DescribeRedirectedErrorCode (
    /** @attribute InAttribute() */ int hrErrorCode
)
DispIdAttribute(128) 
function DescribeRedirectedErrorCode (
    hrErrorCode : int
) : String

參數

  • hrErrorCode
    The error code whose error message is retrieved.

傳回值

A String that contains the error message provided by the upstream component for the specified error code.

備註

This method is a run-time method of the upstream output column that represents the virtual input column. It should not be used at design time when accessing the virtual input column.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

IDTSVirtualInputColumn90 Interface
IDTSVirtualInputColumn90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace