Function EN Version 1.90

@GetDBReplicaInfo

Database NotesAdmin NotesSystem Replication

Syntax

@GetDBReplicaInfo(DBHANDLE1;REPLICAID2;FLAGS3;CUTOFFINTERVAL4;CUTOFFTD5);

Description

Retrieves the replication information: replica ID TD REPLICAID2, replication flags NUMBER FLAGS3, replication deletion interval NUMBER CUTOFFINTERVAL4 and replication deletion time TD CUTOFFTD5 of the database with the DBHANDLE DBHANDLE1.

In addition, the replica ID REPLICAID2 of the database is returned as the @Function result if the @Function was executed successfully.

FLAGS3:
BIT   DEC   HEX   BEDEUTUNG

01   00001   0001   Reserved (COPY_ACL)
02   00002   0002   Reserved
03   00004   0004   Replication off (user-changeable)
04   00008   0008   Do not mark changed documents as unread
05   00016   0010   Do not replicate deleted documents further
06   00032   0020   Design is hidden
07   00064   0040   Do not list in database catalog
08   00128   0080   Delete documents saved before the cutoff date
09   00256   0100   Replication off (not user-changeable)
10   00512   0200   File attachments are not replicated
11   01024   0400   Do not show in the "Open Database" list
12   02048   0800   Do not apply Chronos to this DB.
13   04096   1000   Do not replicate deleted documents into this replica
14   08192   2000   Include in multi-DB indexing
15   16384   4000   Priority bit 1
16   32768   8000   Priority bit 2

XX   16384   4000   High priority
XX   49152   C000   Low priority

Default:
XX   00000   0000   Medium priority

Example: @GetDBReplicaInfo(DBHANDLE1;REPLICAID2;FLAGS3;CUTOFFINTERVAL4;CUTOFFTD5);

REPLICAID2:=@GetDBReplicaInfo(DBHANDLE1;REPLICAID2;FLAGS3;CUTOFFINTERVAL4;CUTOFFTD5);
DBHANDLE1:=@CloseDB(DBHANDLE1);

The database is opened; replica ID, replication flags, replication deletion interval, and replication deletion time are stored in REPLICAID2, FLAGS3, CUTOFFINTERVAL4 and CUTOFFTD5 and then closed again.

Note : This text was machine-translated and may contain inaccuracies.