Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmTerminal Interface / ConnectionError Property


In This Topic
    ConnectionError Property (IIbmTerminal)
    In This Topic
    Gets the error number that describes the cause of the most recent connection failure (when the last returned error has the value ErrConnectionError).
    Syntax
    'Declaration
     
    
    ReadOnly Property ConnectionError As Integer
    'Usage
     
    
    Dim instance As IIbmTerminal
    Dim value As Integer
     
    value = instance.ConnectionError
    int ConnectionError {get;}
    Remarks
    If no connection failure 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 ErrConnectionError. If you use ConnectionError for errors other than ErrConnectionError, you will be retrieving information that is not valid for the current error condition.
    See Also