Partager via


GetErrorDescription méthode

Gets the description of an internal Integration Services error code.

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

Syntaxe

'Déclaration
Function GetErrorDescription ( _
    hrError As Integer _
) As String
'Utilisation
Dim instance As IDTSComponentMetaData100
Dim hrError As Integer
Dim returnValue As String

returnValue = instance.GetErrorDescription(hrError)
string GetErrorDescription(
    int hrError
)
String^ GetErrorDescription(
    [InAttribute] int hrError
)
abstract GetErrorDescription : 
        hrError:int -> string 
function GetErrorDescription(
    hrError : int
) : String

Paramètres

Valeur de retour

Type : System. . :: . .String
A String that contains the description of the specified error code.

Notes

This method is called to retrieve the description of an error code defined by an Integration Services component. These are the error codes listed in Guide de référence des erreurs et des messages propres à Integration Services.