IComponentErrorInfo.GetMessage 方法 (Boolean)

Returns a String that contains the error message.

命名空间:  Microsoft.SqlServer.Dts.Design
程序集:  Microsoft.SqlServer.Dts.Design(在 Microsoft.SqlServer.Dts.Design.dll 中)

语法

声明
Function GetMessage ( _
    descriptionOnly As Boolean _
) As String
用法
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

参数

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

请参阅

参考

IComponentErrorInfo 接口

GetMessage 重载

Microsoft.SqlServer.Dts.Design 命名空间