Programming with Reflection
ConnectionError property
Syntax |
object.ConnectionError |
Works with |
|
Data type |
Returns an error number describing the specific cause of the most recent general connection failure (when the last returned error has the value rcErrConnectionError). If no connection failure has occurred, this property returns zero. Use ConnectionErrorMessage to retrieve the error message.
Use this property to retrieve information only when the last returned error equals rcErrConnectionError; if you use ConnectionError for errors other than rcErrConnectionError, you will be retrieving information that is not valid for the current error condition.
This property is read-only.