sagqdisc (
int anchor,
SQL_CTR_BLOCK * sql_cb_ptr,
int disconnect_type,
char * session_ptr
);
The SAGQDISC function terminates one or more connected SQL Server sessions.
session_ptr |
|
If non NULL, the identified session is terminated. |
disconnect_type |
DISC_ALL_STMT (2) |
All connections are terminated. |
DISC_DEFAULT_STMT (3) |
The default server connection is terminated. |
|
DISC_CURRENT_STMT (4) |
The current connection is terminated. |
For information about anchor (required by each SAGQ* SQL function), see About ACEAPI SQL Functions.