JAVA/CORBA CLASSES


compactWithOptions method
Example

Compacts a local database allowing the submission of options.

Note This method is new with Release 6.5.

Defined in

Database

Syntax

public int compactWithOptions(String options)
   throws NotesException

public int compactWithOptions(int options)
   throws NotesException

public int compactWithOptions(int options, String spacethreshhold)
   throws NotesException

Parameters

String options


int options String spacethreshhold
Return value

int


Usage

This method throws an exception if the database is not local.

An agent cannot compact the current database (the database in which the agent 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.

This method does not support the e or E option.

Language cross-reference

CompactWithOptions method in LotusScript NotesDatabase class

@Command([FileDatabaseCompact]) function in formula language

Example
See Also