Replicate (NotesDatabase - LotusScript®)

Replicates a database with its replica(s) on a given server.

Defined in

NotesDatabase

Syntax

flag = notesDatabase .Replicate( serverName$ )

Parameters

serverName$

String. The name of the server with which you want to replicate. Any replicas of the current database that exist on serverName$ will replicate.

Return value

  • True indicates that the replication task ran without error.
  • False indicates that replication errors occurred.

Usage

Successful replication does not necessarily mean that documents replicate. The replication settings are honored. For example, if replication is temporarily disabled on one of the databases, the replication task runs without error but no documents actually replicate.

If the server does not contain a replica of the database, an error is raised.

Example