Description Property (ADO)

Microsoft ActiveX Data Objects (ADO)

ADO 2.5 API Reference

Description Property

Describes an Error object.

Return Value

Returns a String value that contains a description of the error.

Remarks

Use the Description property to obtain a short description of the error. Display this property to alert the user to an error that you cannot or do not want to handle. The string will come from either ADO or a provider.

Providers are responsible for passing specific error text to ADO. ADO adds an Error object to the Errors collection for each provider error or warning it receives. Enumerate the Errors collection to trace the errors that the provider passes.

See Also

Visual Basic Example | Visual C++ Example | Visual J++ Example

HelpContext, HelpFile Properties | Number Property | Source Property (ADO Error)

Applies To: Error Object

© 1998-2003 Microsoft Corporation. All rights reserved.