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






openByReplicaID method

Given a server name and a replica ID, opens the specified database, if it exists.

Note This method is new with Release 6.5.

Defined in

Database

Syntax

public boolean openByReplicaID(String server, String replicaid)

throws NotesException

Parameters

String server

The name of the server on which the database resides. Use null to indicate a database on the current computer.

String replicaid

The replica ID of the database that you want to open.

Return value

Usage

Use Session.getDatabase(null, null) to instantiate an empty Database object.

Language cross-reference

OpenByReplicaID method in LotusScript NotesDatabase class

@Command([RenameDatabase]) function in formula language

See examples

Examples: openByReplicaID method
Related topics
Opening a database




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009