Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
D
Expand Minimize

Visual Basic: RDO Data Control

Visual Studio 6.0

Description Property (Remote Data)

See Also    Example    Applies To

Returns a descriptive string associated with an error.

Syntax

object.Description

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Return Values

The Description property return value is a string expression containing a description of the error.

Remarks

When an error occurs either on the remote server, or in the ODBC interface while processing your query, an rdoError object is created and appended to the rdoErrors collection. The rdoError object's Description property returns a short description and context information about where the error occurred. This can be used to alert the user to an error that you cannot, or do not want to handle. The SQLState code is appended  to the front of message, followed by a colon and a space. For example "S0021: Cannot find XXX".

Show:
© 2015 Microsoft