IDTSDesigntimeComponent100.DescribeRedirectedErrorCode 方法

Returns the description of the specified error code.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
用法
Dim instance As IDTSDesigntimeComponent100 
Dim hrErrorCode As Integer 
Dim returnValue As String 

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

参数

  • hrErrorCode
    类型:System.Int32
    The error code whose descriptive string is retrieved.

返回值

类型:System.String
The description of the error code.

注释

This method is called to retrieve the description of an error code that is provided by the component when the component directs a row to an error output. The data flow task calls this method to get the string associated with the error code.

请参阅

参考

IDTSDesigntimeComponent100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间