Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






OpenWithFailover method

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$

String. The name of the primary server on which the database resides.

dbfile$

String. The file name of the database to open.

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

See examples

Examples: OpenWithFailover method
Related topics
Opening a database




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009