Gets a directory of databases.
Parameter |
Description |
server |
The name of the server with database files you
want to navigate. Use the empty string to indicate the current session's
environment. |
Return value |
Description |
NotesDbDirectory |
A directory of databases on the server. |
Examples
This value formula for a list box
displays the names of all the databases in the current directory.
var out = new Array();
var dir:NotesDbDirectory = session.getDbDirectory("");
var db:NotesDatabase = dir.getFirstDatabase(NotesDbDirectory.DATABASE);
while (db != null) {
out.push(db.getFileName());
db = dir.getNextDatabase();
}
return out