CurrentDatabase (AgentContext - Java™)
Read-only. The database in which the current agent resides.
Defined in
Data type
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.