LOTUSSCRIPT/COM/OLE CLASSES
Compacts a local database allowing the submission of options.
Note This method is new with Release 6.
Defined in
NotesDatabase
Syntax
sizeDelta& = notesDatabase.CompactWithOptions( options$ )
sizeDelta& = notesDatabase.CompactWithOptions( options& [, spaceThreshold$ ] )
Parameters
options$
sizeDelta&
This method must be run where the database is located, or it will produce an error. If the database is on the server, or accessible to that server via a mapped drive, the method must be run from the server. If the database resides on the Notes client, the method must be run in the Notes client. The method can not be run on one server to compact databases on another server.
A script cannot compact the current database (the database in which the script is running) or the desktop.dsk file.
The options are those that you can use with the Compact server task. For more information, see "Compact options" in Administration Help.
CompactWithOptions does not support the e or E option.
Language cross-reference
compactWithOptions method in Java Database class
@Command([FileDatabaseCompact]) function in formula language
Example