LOTUSSCRIPT/COM/OLE CLASSES


OpenDatabaseByReplicaID method
Example

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$


Return value

notesDatabase


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.

Language cross-reference

openDatabaseByReplicaID method in Java DbDirectory class

Example