function CheckConnection() : Integer;

Class IHL7ConnectDB

Check whether the connection to the database is ok. Possible return values are:

Most database providers will need to reconnect to the database to check the connection, so it's not the fastest way to handle database stability. The fastest way is to simply use the connection, and reconnect if there is an error. Whichever way you handle checking for a database connection, the difficult part is deciding what to do if the database isn't available.


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: CheckConnection