Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

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


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents