JAVA/CORBA CLASSES

FilePath property
Example

Read-only. The path and file name of a database.

Defined in

Database

Data type

String

Syntax

public String getFilePath()
   throws NotesException

Usage

If the database is open and on the Notes workstation, FilePath returns the complete path (for example, C:\Notes\data\sub\db.nsf).

If the database is on a Domino server, or closed on the Notes workstation, FilePath returns the path relative to the data directory (for example, sub\db.nsf).

FilePath returns the server name when both of these cases are true:


The format is:
FilePath returns the server name when used in an agent running on a server and when the Database object is not obtained through the CurrentDatabase property of the Session class. The format is
A database does not need to be open to use this property.

Language cross-reference

FilePath property in LotusScript NotesDatabase class

@DbName in formula language

Example
See Also