SPQLDISCONNECT() API Function

Terminates a connection from the server’s SQL processor specified with an SPQLDISCONNECT().

Valid in: SPD Server

Syntax

int spqldisconnect(void *contok)

Required Argument

void *contok

connection token previously obtained from SPQLCONNECT().

Details

INT disconnects from a specified server’s SQL processor. The caller passes the connection token that was returned from an SPQLDISCONNECT() call. Then, the server’s SQL processor associated with the connection is disconnected from the caller, and the memory associated with connection token is returned to the system.
Returns: 0 if successful.
Last updated: February 8, 2017