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

DatabaseName Property

See Also
Example
Applies To

OraConnection

OraDatabase

Description

Returns the name of the database associated with the specified object. Not available at design time and read-only at run time.

Usage

database_name = oraconnection.DatabaseName

database_name = oradatabase.DatabaseName

Remarks

oraconnection.DatabaseName returns the name of the database, as specified in the OpenDatabase method.

oradatabase.DatabaseName returns the database name associated with the connection. It is the same as the referencing oradatabase.Connection.DatabaseName.

Data Type

String