OpenByReplicaID (NotesDatabase - LotusScript®)

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

Note: This method is supported in LotusScript® only. For COM, use OpenDatabaseByReplicaID in NotesDbDirectory.

Defined in

NotesDatabase

Syntax

flag = notesDatabase .OpenByReplicaID( server$ , replicaID$ )

Parameters

server$

String. The name of the server on which the database resides. Use an empty string ("") to indicate a database on the current computer.

replicaID$

String. 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

Example