Condividi tramite


Metodo IErrorCollectionService.GetErrorMessage (Boolean)

Returns a String that contains the error message.

Spazio dei nomi  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Sintassi

'Dichiarazione
Function GetErrorMessage ( _
    descriptionOnly As Boolean _
) As String
'Utilizzo
Dim instance As IErrorCollectionService 
Dim descriptionOnly As Boolean 
Dim returnValue As String 

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

Parametri

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

Valore restituito

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.

Osservazioni

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

Vedere anche

Riferimento

IErrorCollectionService Interfaccia

Overload GetErrorMessage

Spazio dei nomi Microsoft.SqlServer.Dts.Design