Partager via


IComponentErrorInfo.GetMessage Method (Boolean)

Returns a String that contains the error message.

Espace de noms: Microsoft.SqlServer.Dts.Design
Assembly: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Syntaxe

'Déclaration
Function GetMessage ( _
    descriptionOnly As Boolean _
) As String
string GetMessage (
    bool descriptionOnly
)
String^ GetMessage (
    bool descriptionOnly
)
String GetMessage (
    boolean descriptionOnly
)
function GetMessage (
    descriptionOnly : boolean
) : String

Paramètres

  • descriptionOnly
    A Boolean that indicates whether the error message only is returned, or the error message plus component and subcomponent information.

Valeur de retour

When true, a String that contains the error message. When false, a String that contains the error message, component and subcomponent information.

Notes

Passing false to this method is the same as calling the GetMessage method.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IComponentErrorInfo Interface
IComponentErrorInfo Members
Microsoft.SqlServer.Dts.Design Namespace