OpenDatabaseByReplicaID (NotesDbDirectory - LotusScript®)

Opens a database with a specified replica ID.

Note: This method is new with Release 5.0.2b.
Note: This method is supported in COM only. For LotusScript®, use the OpenByReplicaID method in NotesDatabase.

Defined in

NotesDbDirectory

Syntax

Set notesDatabase = notesDbDirectory .OpenDatabaseByReplicaID( rid$ )

Parameters

rid$

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

Return value

notesDatabase

The opened database.

Usage

This method usually raises ERR_SYS_FILE_NOT_FOUND (error 0FA3) if the database does not exist. However, other errors may occur or the method may return an object with blank properties.

Example