|
Purpose |
Closes any databases and files opened by a DP4 connection | |
|
Old name |
#define _srv_logoff srv_disable | |
|
Syntax (CCOWN) |
void srv_disable(void) | |
|
Syntax (DP4DBAPI) |
int dp4_srv_disable(CONN * conn,int file_only) | |
|
Parameters |
CONN * conn |
Handle returned by preceding call to dp4_srv_connect() |
|
int file_only |
You must pass the same value that was passed to the preceding call to srv_enable_ex(). | |
|
Description |
The srv_disable() function performs various de-initialisations for a connection to DP4 that is to be closed. It is normally called immediately before a connection handle is freed with srv_end_process(). | |
|
See also |
||