Closes all connections to the Advantage Database Server.
Syntax
void ads_close_all( void )
Parameters
None.
Remarks
ads_close_all is used to close all connections to the server. All active transactions will be rolled back before all connections are closed
Example
<?php
echo "Basic Connect<br>\n";
$rConn = ads_connect( "DataDirectory=\\\\server1\\share1\\data\\;ServerTypes=2", "", "" );
echo "Connect<br>\n";
ads_close_all();
echo "Closed All Transactions<br>\n";
?>
See Also