Oracle Objects for OLE
Release 8.1.7

Part Number A85257-01

Library

Product

Contents

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


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents