Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object / 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
    expression.ResumeConnection( _
       ByVal connectionId As Integer _
    ) As ReturnCode
    where expression is a variable that represents a Terminal Object

    Parameters

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

    Return Value

    One of the following ReturnCode enumeration values.

    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.

    Remarks
    Only sessions that were established and suspended in the same copy of Reflection can be resumed. Resuming a connection updates the value of the ConnectionType and ConnectionSettings properties in accordance with the newly resumed connection.
    See Also