Promotic
WikipediaLinkedInYoutubeTwitterFacebook

DbIsOpen - method of object PmaAdo

Description:
Testing the databese connection of the PmaAdo object.
Syntax:
DbIsOpen
Calling:
b = oDb.DbIsOpen()
Return Values:
true - The PmaAdo object is connected to the database defined by means of the DbConnectionString property (e.g. by calling the DbOpen method).
false - The PmaAdo object is not connected to the database. It means that the database was not opened at all or it was disconnected by calling the DbClose method.
See also:
Example:
Testing if the PmaAdo object ("/TestAdoDb") is connected to the database.
JavaScriptVBScriptSelect and copy to clipboard

var oDb = pMe.Pm("/TestAdoDb");
if (oDb.DbIsOpen())
//...

History:
Pm8.01.00: Created
PROMOTIC 9.0.3 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice