tibemsConnection_GetActiveURL

Function

Purpose

Get the active URL of a connection.

C Declaration

tibems_status tibemsConnection_GetActiveURL(
    tibemsConnection connection,
    char** serverURL );

COBOL Call

CALL "tibemsConnection_GetActiveURL"
     USING BY VALUE connection,
           BY REFERENCE serverURL,
           RETURNING tibems-status
END-CALL.
Note: connection and serverURL have usage pointer.

Parameters

Parameter Description
connection Get the active URL of this connection.
serverURL Store a pointer to the URL in this location.

Remarks

This property is the URL of the server at the other endpoint of the connection. When the connection interacts with several servers in a fault-tolerant arrangement, this property indicates the current active server.