Méthode IDTSDesigntimeComponent100.DescribeRedirectedErrorCode

Returns the description of the specified error code.

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 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

Paramètres

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

Valeur de retour

Type : System.String
The description of the error code.

Notes

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.

Voir aussi

Référence

IDTSDesigntimeComponent100 Interface

Espace de noms Microsoft.SqlServer.Dts.Pipeline.Wrapper