LOTUSSCRIPT/COM/OLE CLASSES


GetDatabase method
Example

Creates a NotesDatabase object that represents the database located at the server and file name you specify, and opens the database, if possible.

Defined in

NotesSession

Syntax

Set notesDatabase = notesSession.GetDatabase( server$, dbfile$ [, createonfail ] )

Parameters

server$


dbfile$
createonfail

Note This parameter is new with Release 5.


Return value

notesDatabase


Usage

For more information, see the NotesDatabase class.

Language cross-reference

getDatabase method in Java Session class

FileOpenDatabase @command in formula language

Example
See Also