LOTUSSCRIPT/COM/OLE CLASSES


GetFirstDatabase method
Example

Returns the first database on a server (or local computer), using the file type you specify.

Defined in

NotesDbDirectory

Syntax

Set notesDatabase = notesDbDirectory.GetFirstDatabase( fileType% )

Parameters

fileType%

Return value

notesDatabase


Usage

Each time you call this method, the database directory is reset and a new search is conducted. If you're searching for template files, for example, a new call to GetFirstDatabase with the parameter DATABASE (LotusScript) or NOTES_DATABASE (COM) will start searching the directory from the beginning, this time for database files.

Language cross-reference

getFirstDatabase method in Java DbDirectory class

Example
See Also