openDatabase (DbDirectory - Java™)
Opens a database.
Defined in
Syntax
public Database openDatabase(String dbfile)
throws NotesException
public Database openDatabase(String dbfile, boolean failover)
throws NotesException
Parameters
String dbfile
The file name of the database to open.
boolean failover
If true and the database cannot be opened on the current server, an attempt is made to open it on another server in the cluster (if there is a cluster). The object Server and FilePath properties reflect the server on which the database is opened. For remote (IIOP) access, failover is always false.
Return value
Database
The opened database, or null if the database is not opened.