Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / GetSerialConnectionStatistics Method
Specifies which statistics to return.


In This Topic
    GetSerialConnectionStatistics Method
    In This Topic
    Returns a statistic for a serial connection.
    Syntax
    'Declaration
     
    
    Function GetSerialConnectionStatistics( _
       ByVal option As ConnectionStatisticOption _
    ) As Integer
    'Usage
     
    
    Dim instance As ITerminal
    Dim option As ConnectionStatisticOption
    Dim value As Integer
     
    value = instance.GetSerialConnectionStatistics(option)
    int GetSerialConnectionStatistics( 
       ConnectionStatisticOption option
    )

    Parameters

    option
    Specifies which statistics to return.

    Return Value

    The requested statistic if the ConnectionType is a serial connection, or -1 if it is not.
    Remarks
    If the connection is not a serial connection, or if there is not connection, GetSerialStatistics returns -1. Statistics are maintained from the time a connection is established or from when the terminal session is reset (for example, with the ResetTerminal method).
    See Also