Share via


IDTSVirtualInputColumn100.DescribeRedirectedErrorCode Method

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
'Usage
Dim instance As IDTSVirtualInputColumn100
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

Parameters

  • hrErrorCode
    Type: System.Int32
    The error code whose error message is retrieved.

Return Value

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

Remarks

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.