Compartir a través de


IComponentErrorInfo.GetMessage Método (Boolean)

Returns a String that contains the error message.

Espacio de nombres:  Microsoft.SqlServer.Dts.Design
Ensamblado:  Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)

Sintaxis

'Declaración
Function GetMessage ( _
    descriptionOnly As Boolean _
) As String
'Uso
Dim instance As IComponentErrorInfo 
Dim descriptionOnly As Boolean 
Dim returnValue As String 

returnValue = instance.GetMessage(descriptionOnly)
string GetMessage(
    bool descriptionOnly
)
String^ GetMessage(
    bool descriptionOnly
)
abstract GetMessage : 
        descriptionOnly:bool -> string
function GetMessage(
    descriptionOnly : boolean
) : String

Parámetros

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

Valor devuelto

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

Comentarios

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

Vea también

Referencia

IComponentErrorInfo Interfaz

Sobrecarga de GetMessage

Espacio de nombres Microsoft.SqlServer.Dts.Design