openByReplicaID (Database - Java™)
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
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
- true indicates that the replica was found and opened
- false indicates that the replica was not found on the server, or could not be opened
Usage
Use Session.getDatabase(null, null) to instantiate an empty Database object.