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.