Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
Description
Returns a boolean value indicating 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. Read-only at run time.
Usage
ConnectionStat = OraDatabase.ConnectionOK
ConnectionStat = OraDatabase.Connection.ConnectionOK
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.
Data Type
Boolean