JAVA/CORBA-KLASSEN


setOption method
Beispiel

Sets the value of a database option.

Hinweis This method is new with Release 6.5.

Defined in

Database

Syntax

public void setOption(int optionname, boolean flag)
   throws NotesException

Parameters

int optionname

boolean flag Usage

Compact the database to ensure that the option takes effect. See compact.

See getOption for getting a database option.

Setting DBOPT_REPLICATEUNREADMARKSTOANY true also sets DBOPT_REPLICATEUNREADMARKSTOCLUSTER true. Setting DBOPT_REPLICATEUNREADMARKSTOCLUSTER true sets DBOPT_REPLICATEUNREADMARKSTOANY false. Setting both options false means unread marks are never replicated.

The database must be open. Otherwise this method throws NOTES_ERR_DATABASE_NOTOPEN (4063).

Language cross-reference

SetOption method in LotusScript NotesDatabase class

Beispiel
Siehe auch