IErrorCollectionService.GetErrorMessage 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 GetErrorMessage ( _
    descriptionOnly As Boolean _
) As String
string GetErrorMessage (
    bool descriptionOnly
)
String^ GetErrorMessage (
    bool descriptionOnly
)
String GetErrorMessage (
    boolean descriptionOnly
)
function GetErrorMessage (
    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 GetErrorMessage 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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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