Promotic
WikipediaLinkedInYoutubeTwitterFacebook

DbIsOpen - method of object PmAdo

Description:
Testing the databese connection of the PmAdo object.
Syntax:
DbIsOpen As Boolean
Calling:
b = oDb.DbIsOpen()
Return Values:
true - The PmAdo object is connected to the database defined by the DbConnectionString property (e.g. by calling the DbOpen method).
false - The PmAdo object is not connected to the database. This means that it was not opened at all or it was disconnected by calling the DbClose method.
See also:
Example:
Testing if the PmAdo object ("/TestAdoDb") is connected to the database.
Dim oDb
Set oDb = pMe.Pm("/TestAdoDb")
If oDb.DbIsOpen Then
  ...
End If
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice