Function EN Version 4.50

@GetDBOptions

Database NotesSystem TimeDate

Syntax

@GetDBOptions(DBHANDLE1);
@GetDBOptions(DBHANDLE1;FNEXTOPTIONS);

Description

Returns the DB options of the DB with the DBHANDLE DBHANDLE1 as a bit vector (FN).
In FN FNEXTOPTIONS the extended options of the DB are returned.

FNEXTOPTIONS:
BIT   DEC   HEX   MEANING if set

01   000001   00001   Allow use of stored forms in this DB
02   000002   00002   Display images after loading
03   000004   00004   Web access: Use JavaScript when generating pages
04   000008   00008   Web access: Require SSL connection
05   000016   00010   
06   000032   00020   
07   000064   00040   
08   000128   00080   
09   000256   00100   
10   000512   00200   
11   001024   00400   
12   002048   00800   
13   004096   01000   
14   008192   02000   
15   016384   04000   Do not send changes in local security property to other replicas
16   032768   08000   Replicate Title and Categories to other replicas of this DB

Options:
BIT   DEC   HEX   MEANING if set

01   000001   00001   Full-text indexing enabled
02   000002   00002   DB is an ObjectStore*
03   000004   00004   DB has documents that use an ObjectStore*
04   000008   00008   NoteUpdate should never try to use an ObjectStore*
05   000016   00010   DB is a library
06   000032   00020   All replicas of this DB should have an ACL
07   000064   00040   NoteUpdate should always try to use an ObjectStore
08   000128   00080   Reserved
09   000256   00100   Reserved
10   000512   00200   DB has no background agent
11   001024   00400   DB is out of service
12   002048   00800   DB is a personal journal
13   004096   01000   DB is marked for deletion
14   008192   02000   DB stores calendar events
15   016384   04000   DB is a catalog index
16   032768   08000   DB is an address book
17   065536   10000   DB is a "multi-db-search" repository
18   131072   20000   User activity log is private
19   262144   40000   Reserved
20   524288   80000   DB is a "multi-db-site" repository

*ObjectStore(for garbage collection)

Example @GetDBOptions(DBHANDLE1):

DBHANDLE1:=@OpenDB("TEST.NSF");
@LogReport(@GetDBOptions(DBHANDLE1));
DBHANDLE1:=@CloseDB(DBHANDLE1);

The database is opened, the DB options are output, and then it is closed again.

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