Partager via


Méthode DescribeRedirectedErrorCode

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

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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.