Name (NotesDbDirectory - JavaScript)

Read-only. The name of the server whose database directory you are searching.

Defined in

NotesDbDirectory

Syntax

getName() : string

Usage

This property returns an empty string for NotesDbDirectory objects that represent the local directory.

Examples

This computed field displays the name of a database directory set elsewhere on the page.
if (sessionScope.dbdir != null) {
	var dbdir:NotesDbDirectory = sessionScope.dbdir;
	return "Working on " + dbdir.getName();
} else {
	return "Working locally";
}