Advantage Client Engine
Disconnects the connection associated with the given connection handle
UNSIGNED32 |
AdsDisconnect (ADSHANDLE hConnect); |
hConnect (I) |
Handle of server to disconnect. |
AdsDisconnect is used to disconnect a connection from the specified server. If tables are currently opened, all data is flushed, locks are released, and open tables are closed before the disconnect occurs.
If zero is passed as the connection handle, all connections on the server associated with the user will be disconnected.
If AdsDisconnect is called on a connection with a transaction active, the transaction will be rolled back.