JAVA/CORBA CLASSES


createDatabase method
Example

Creates a new database, using the server and file name that you specify. Because the new database is not based on a template, it is blank and does not contain any forms or views.

Defined in

DbDirectory

Syntax

public Database createDatabase(String dbfile)
   throws NotesException

public Database createDatabase(String dbfile, boolean open)
   throws NotesException

Parameters

String dbfile


boolean open
Usage

If you do not open the database, only a subset of its methods are available. See isOpen in Database.

Because the new database is not based on a template, it's blank and does not contain any forms or views.

Language cross-reference

CreateDatabase method in LotusScript NotesDbDirectory class

Example
See Also