Share this page

# lrd_server_detach

Deletes an access path to a data source. (Oracle 8.0 and later)

    LRDRET lrd_server_detach( void const * mpvLRDDBIHandleServer, long const mliMode, int const miDBErrorSeverity );

mpvLRDDBIHandleServer | A pointer to an LRDDBI server handle.
mliMode | The mode of operation. Only a zero value is supported.
miDBErrorSeverity | The Error Severity Levels of a failure in a database routine.

The lrd_server_detach function deletes an access path to a data source for database operations. This function is only supported for Oracle 8.0 and higher.

For additional details, refer to the Function Header File lrd.h.

## Return Values

See LRD Return Values.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

In the following example, lrd_server_detach terminates the access path to a database server.

Copy code

    lrd_handle_free(&OraStm3, 0);
    lrd_session_end(OraSvc1, OraSes1, 0, 0);
    lrd_server_detach(OraSrv1, 0, 0);
    lrd_handle_free(&OraEnv1, 0);

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: