Oracle NCA Vuser Functions (NCA) > Alphabetical List of Functions > nca_connect_server

nca_connect_server

Example: nca_connect_server Connection Functions

Connects to an Oracle NCA database server.

int nca_connect_server( LPCSTR host, LPCSTR port, LPCSTR command_line );
host The host name or IP address of the database server.
port The port number of the database server.
command_line The command line specified when starting the application.

The nca_connect_server function connects to an Oracle NCA database server using the specified host, port number, and module.

Return Values

Oracle NCA Error Codes

Parameterization

All arguments of this function may be parameterized using standard parameterization.