.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

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