expression.ConnectionError As Integer
where expression is a variable that represents a Terminal Object
expression.ConnectionError As Integer
If you use ConnectionError for errors other than ErrConnectionError, you will retrieve information that is not valid for the current error condition.