LOTUSSCRIPT/COM/OLE CLASSES

CompactWithOptions method
Example

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$


options& spaceThreshold$
Return value

sizeDelta&


Usage

This method raises an error if the database is not local.

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