Freigeben über


DescribeRedirectedErrorCode-Methode

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

Parameter

Rückgabewert

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

Hinweise

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.