GetEntry (NotesReplication - LotusScript®)

Creates or gets a replication entry.

Note: This method is new with Release 6.

Defined in

NotesReplication

Syntax

Set notesReplicationEntry = notesReplication .GetEntry( source$ , destination$ [ , createflag ] )

Parameters

source$

String. Name of the source server ("Receives from").

destination$

String. Name of the destination server ("When computer").

createflag

Boolean. Optional.

  • True creates a new entry if the entry does not exist.
  • False (default) returns Nothing if the entry does not exist.

Return value

notesReplicationEntry

NotesReplicationEntry. The replication entry if it exists or the create flag is True, or Nothing.

Usage

A replication entry describes the replication settings for a pair of servers, of which one is the source and the other is the destination.

The source and destination names serve as strings to identify the replication entry and must be specified exactly as they appear. A hyphen (-) means any server.

Creating an entry for a new destination where the source is not any server results in the creation of an additional entry for that destination whose source is any server.

After calling this method, you must call Save for NotesReplicationEntry for the changes to take effect. If you do not call Save, your changes are lost.

For more information and examples, see NotesReplicationEntry.