JAVA/CORBA CLASSES


CurrentDatabase property
Example

Read-only. The database in which the current agent resides.

Defined in

AgentContext

Data type

Database

Syntax

public Database getCurrentDatabase()
   throws NotesException

Usage

This property allows you to access a database without having to specify its server and file name. Using getCurrentDatabase can make programs more portable from one database to another.

Language cross-reference

CurrentDatabase property in LotusScript NotesSession class

Example
See Also