InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / ResumeConnection Method
Identifies the connection to resume. Obtain this from the SuspendCurrentConnection method.


In This Topic
    ResumeConnection Method
    In This Topic
    Resumes a previously suspended connection (suspend connections with the SuspendConnection method).
    Syntax
    'Declaration
     
    
    Function ResumeConnection( _
       ByVal connectionId As Integer _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As ITerminal
    Dim connectionId As Integer
    Dim value As ReturnCode
     
    value = instance.ResumeConnection(connectionId)
    ReturnCode ResumeConnection( 
       int connectionId
    )

    Parameters

    connectionId
    Identifies the connection to resume. Obtain this from the SuspendCurrentConnection method.

    Return Value

    ReturnCode value indicates success or error conditions.
    Remarks
    Only sessions that were established and suspended in the same copy of InfoConnect can be resumed. Resuming a connection updates the value of the ConnectionType and ConnectionSettings properties in accordance with the newly resumed connection.
    See Also