Freigeben über


IComponentErrorInfo.GetMessage Method (Boolean)

Returns a String that contains the error message.

Namespace: Microsoft.SqlServer.Dts.Design
Assembly : Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Syntax

'Declaration
Function GetMessage ( _
    descriptionOnly As Boolean _
) As String
string GetMessage (
    bool descriptionOnly
)
String^ GetMessage (
    bool descriptionOnly
)
String GetMessage (
    boolean descriptionOnly
)
function GetMessage (
    descriptionOnly : boolean
) : String

Parameter

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

Rückgabewert

When true, a String that contains the error message. When false, a String that contains the error message, component and subcomponent information.

Hinweise

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

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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