ConnectionOK Property

Description

Returns a Boolean value indicating the status of the database connection associated with the OraConnection object. A return value of True implies that the connection is alive in the connection object associated with the specified database. If the connection has been dropped, this property returns False.

Not available at design time and read-only at run time.

Usage

ConnectionStat = OraDatabase.ConnectionOK
ConnectionStat = OraDatabase.Connection.ConnectionOK 

Data Type

Boolean

Remarks

  • OraDatabase.ConnectionOK

    Returns the connection status of the connection object associated with the specified database. Each database is associated with one connection object, but many databases can share the same connection object.

  • OraConnection.ConnectionOK

    Returns the status of the underlying connection to the database. This is equivalent to OraDatabase.OraConnection.ConnectionOK.