共用方式為


IDTSInputColumn100.DescribeRedirectedErrorCode 方法

Returns a String that describes an error code.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
'用途
Dim instance As IDTSInputColumn100 
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 message is retrieved.

傳回值

型別:System.String
A String that contains the error message for the specified errorCode parameter.

備註

This method is called after a row is directed to the error output of a component, and provides a description of the specified errorCode parameter.

請參閱

參考

IDTSInputColumn100 介面

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