NotesDbDirectory (JavaScript™)
Represents the Domino® databases on a server or the local computer.
Creation
You create a new NotesDbDirectory object with getDbDirectory in Session.If you create a database directory for a server that does not exist or cannot be accessed, the object is created and properties are set. However, an exception occurs if you try to use the object in a useful way, for example, to get a database in the directory.