Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_DB_StandbyConnectionActive


Check the last connection state of the specified primary connection and the specified standby connection.


CSV_DB_StandbyConnectionActive(sPrimaryConnection, sStandbyConnection)

Return Value

If the primary connection state is offline and the standby connection state is online then return 1 otherwise return 0.