NotesDbDirectory (LotusScript®)

Represents the Notes® databases on a specific server or local computer.

Containment

Contained by: NotesSession

Contains: NotesDatabase

Properties

Name

Parent

Methods

CreateDatabase

GetFirstDatabase

GetNextDatabase

New

OpenDatabase

OpenDatabaseByReplicaID

OpenDatabaseIfModified

OpenMailDatabase

Creation

You create a new NotesDbDirectory object using the name of the server you want to access. You can use the following:

  • New
Note: The New method is not supported in COM.
  • GetDbDirectory method in NotesSession

Syntax

Dim variableName as New NotesDbDirectory( serverName$ )

or

Set notesDbDirectory = New NotesDbDirectory( serverName$ )

Parameters

serverName$

String. The name of the server that has the database files you want to navigate. Use an empty string ("") to indicate the current computer.

Example