JAVA/CORBA CLASSES


openWithFailover method
Example

Opens a database on a server.

Note This method is new with Release 6.5.

Defined in

Database

Syntax

public boolean openWithFailover(String server, String dbfile)
   throws NotesException

Parameters

String server


String dbfile
Return value
Usage

The object Server and FilePath properties reflect the actual server on which the database is opened.

If the database can't be opened on the specific server but the server belongs to a cluster, openWithFailover automatically looks for a replica of the specified server on the same cluster. If the method finds a replica, that database is opened instead, and the Server property adjusts accordingly.

Language cross-reference

OpenWithFailover method in LotusScript NotesDatabase class

FileDatabaseUseServer @command in formula language

Example
See Also