LOTUSSCRIPT/COM/OLE CLASSES


CreateDatabase method
Ejemplo

Creates a new database, using the server and file name that you specify.

Nota This method is new with Release 5.0.2b.

Nota This method is supported in COM only. For LotusScript, use Create in NotesDatabase.

Defined in

NotesDbDirectory

Syntax

Set notesDatabase = notesDbDirectory.CreateDatabase( dbfile$ [ , open ] )

Parameters

dbfile$


open
Return value

notesDatabase


Usage

If you do not open the database, only a subset of its properties is available. See IsOpen in NotesDatabase.

This method raises ERR_NOTES_ERROR2 (error 0FA5) if the database already exists.

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 Java DbDirectory class

Ejemplo


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?