CreateReplica (NotesDatabase - LotusScript®)

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

Defined in

NotesDatabase

Syntax

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

Parameters

newServer$

String. The name of the server where the replica will reside. Use an empty string ("") to create a replica on the current computer.

newDbFile$

String. The file name of the replica.

Return value

notesDatabaseReplica

NotesDatabase. The new replica.

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.

Example