Метод IErrorCollectionService.GetErrorMessage (Boolean)

Returns a String that contains the error message.

Пространство имен:  Microsoft.SqlServer.Dts.Design
Сборка:  Microsoft.SqlServer.Dts.Design (в Microsoft.SqlServer.Dts.Design.dll)

Синтаксис

'Декларация
Function GetErrorMessage ( _
    descriptionOnly As Boolean _
) As String
'Применение
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

Параметры

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

Возвращаемое значение

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

Замечания

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

См. также

Справочник

IErrorCollectionService Интерфейс

Перегрузка GetErrorMessage

Пространство имен Microsoft.SqlServer.Dts.Design