DbIsOpen - method of object PmAdo

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

Dim oDb
Set oDb = pMe.Pm("/TestAdoDb")
If oDb.DbIsOpen() Then
End If
PROMOTIC 8.3.30 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