Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






CreateReplica method

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.

Language cross-reference

createReplica method in Java Database class

@Command([FileNewReplica]) function in formula language

See examples

Examples: CreateReplica method
Related topics
Creating and deleting a database




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009