Share this page

# nca_logon_cancel

Connection Functions

Cancels a login to an Oracle NCA database.

    int nca_logon_cancel( LPCSTR name );

connection_name | The name of the database connection.

The nca_logon_cancel function cancels the connection to an Oracle NCA database. The connection name was set with the connection_name parameter of the nca_logon_connect. This function does not, however, disconnect from the server.

## Return Values

Oracle NCA Error Codes

## Parameterization

The following variable can be parameterized using standard parameterization: connection_name

## Example

In the following example, the nca_logon_cancel function closes the Logon1 connection.

Copy code

    nca_connect_server("...");
    ...
    nca_set_window("Logon");
    nca_logon_connect("Logon1", "nca$oracle", "a", "oracle.com");
    ...
    nca_logon_cancel("Logon1");

    char * JavaProp[][] = {{"GetHost", "HostName", "servername"},
                    {"GetHost", "HostIP", "127.0.0.1"},
                    {"GetHost", "", ""}};

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: