LOTUSSCRIPT/COM/OLE CLASSES


CreateReplica method
Example

Creates a replica of the current database at a new location.

Defined in

NotesDatabase

Syntax

Set notesDatabaseReplica = notesDatabase.CreateReplica( newServer$, newDbFile$ )

Parameters

newServer$


newDbFile$
Return value

notesDatabaseReplica


Usage

If a database with the specified file name already exists on the newServer$, an error is raised.

The new replica has the same access control list as the current database.

Language cross-reference

createReplica method in Java Database class

@Command([FileNewReplica]) function in formula language

Example
See Also