CurrentDatabase (NotesAgentContext - JavaScript)

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

Defined in

NotesAgentContext

Syntax

getCurrentDatabase() : NotesDatabase

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

CurrentDatabase property in Java Session class