Jaa


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

Parameters

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

Return Value

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

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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