LOTUSSCRIPT/COM/OLE CLASSES


OpenWithFailover method
Example

Opens a database on a server.

Note This method is not supported in COM.

Defined in

NotesDatabase

Syntax

flag = notesDatabase.OpenWithFailover( server$, dbfile$ )

Parameters

server$


dbfile$
Return value
Usage

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

A script needs at least Reader access to a database in order to call Open. An error is returned if the script does not have access.

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 Java Database class

FileDatabaseUseServer @command in formula language

Example
See Also