Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

ConnectionOK Property

See Also

Applies To

OraDatabase

OraConnection

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