SE_connection_restore_primary_session

Switches the database connection from a proxy session back to the primary connection

Usage syntax

LONG SE_connection_restore_primary_session (SE_CONNECTION handle);

Parameters
SE_CONNECTION The connection handle; an active connection created by a previous call to SE_connection_create
Description

The function SE_connection_restore_primary_session changes the connection from a proxy-authenticated session back to the original session. 

Returns
SE_SUCCESS
SE_INVALID_CONNECTION

SE_INVALID_RELEASE
SE_LOST_DBMS_CONNECTION