# tibemsUFOConnectionFactory_RecoverConnection

Function

## Purpose

Recover an unshared state connection.

## C Declaration

    tibems_status
    tibemsUFOConnectionFactory_RecoverConnection(
        tibemsConnectionFactory ufoFactory,
        tibemsConnection ufoConnection);

## COBOL Call

    CALL "tibemsUFOConnectionFactory_RecoverConnection"
         USING BY VALUE ufoFactory,
               BY VALUE ufoConnection,
               RETURNING tibems-status
    END-CALL.

Note: `ufoConnection` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`ufoFactory` | The unshared state connection factory used to create the unshared state connection.
`ufoConnection` | The unshared state connection to be recovered.

## Remarks

This function is used to recover the broken connection on another available server.

## See Also

See the section "Unshared State Failover Process" in the TIBCO Enterprise Message Service User’s Guide for more information.

Copyright © Cloud Software Group, Inc. All rights reserved.