Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmTerminal Object / ConnectionErrorMessage Property
In This Topic
ConnectionErrorMessage Property (IbmTerminal)
In This Topic
Gets the text string that describes the specific cause of the most recent general connection failure (when the last returned error has the value ErrConnectionError).
Syntax
expression.ConnectionErrorMessage As String
where expression is a variable that represents a IbmTerminal Object
Remarks
If no connection failure has occurred, this property returns an empty string. The connection error message strings are stored internally in the connection library module of Reflection and cannot be changed. Use this property to retrieve information only when the last returned error equals ErrConnectionError. If you use ConnectionErrorMessage for errors other than ErrConnectionError, you will be retrieving information that is not valid for the current error condition.
See Also