Поделиться через


IComponentErrorInfo.GetMessage Method (Boolean)

Returns a String that contains the error message.

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

Синтаксис

'Декларация
Function GetMessage ( _
    descriptionOnly As Boolean _
) As String
string GetMessage (
    bool descriptionOnly
)
String^ GetMessage (
    bool descriptionOnly
)
String GetMessage (
    boolean descriptionOnly
)
function GetMessage (
    descriptionOnly : boolean
) : String

Параметры

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

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

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 GetMessage method.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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