JAVA/CORBA CLASSES


getDatabase method
Example

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

Defined in

Session

Syntax

public Database getDatabase(String server, String db)
   throws NotesException

public Database getDatabase(String server, String db, boolean createonfail)
   throws NotesException

Parameters

String server


String db
boolean createonfail
Return value

Database


Usage

See the Database class for additional descriptions and examples.

Language cross-reference

GetDatabase method in LotusScript NotesSession class

FileOpenDatabase @command in formula language

Example
See Also