Muokkaa

Jaa


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.

Applies To

Error Object

See Also

Description, HelpContext, HelpFile, NativeError, Number, Source, and SQLState Properties Example (VB)
Description, HelpContext, HelpFile, NativeError, Number, Source, and SQLState Properties Example (VC++)
HelpContext, HelpFile Properties
Number Property (ADO)
Source Property (ADO Error)