GetOption (NotesDatabase - LotusScript®)
Gets the value of a database option.
Note: This method is new with Release 6.
Defined in
Syntax
flag = notesDatabase .GetOption( optionName% )
Parameters
optionName%
Integer. Constant. One of the following:
- DBOPT_LZCOMPRESSION (65) uses LZ1 compression for attachments
- DBOPT_MAINTAINLASTACCESSED (44) maintains LastAccessed property
- DBOPT_MOREFIELDS (54) allows more fields in database
- DBOPT_NOHEADLINEMONITORS (46) doesn't allow headline monitoring
- DBOPT_NOOVERWRITE (36) doesn't overwrite free space
- DBOPT_NORESPONSEINFO (38) doesn't support specialized response hierarchy
- DBOPT_NOTRANSACTIONLOGGING (45) disables transaction logging
- DBOPT_NOUNREAD (37) doesn't maintain unread marks
- DBOPT_OPTIMIZATION (41) enables document table bitmap optimization
- DBOPT_REPLICATEUNREADMARKSTOANY (71) replicates unread marks to
all serversNote: This option is new with Release 6.5.
- DBOPT_REPLICATEUNREADMARKSTOCLUSTER (70) replicates unread marks
to clustered servers onlyNote: This option is new with Release 6.5.
- DBOPT_SOFTDELETE (49) allows soft deletions
Return value
flag
Boolean.
- True if the option is enabled.
- False if the option is disabled.
Usage
See setOption for setting a database option.