Skip to main content

NotesDbDirectory

Properties

NameDescription
Name (NotesDbDirectory)Read-only. The name of the server that has the database directory you are searching. This property is set when you create a database directory.
Parent (NotesDbDirectory)Read-only. The session that contains a DbDirectory object.

Methods

NameDescription
CreateDatabaseCreates a new database, using the server and file name that you specify.
GetFirstDatabaseReturns the first database on a server (or local computer), using the file type you specify.
GetNextDatabaseReturns the next database in a directory, using the file type specified in the GetFirstDatabase method.
OpenDatabase (NotesDbDirectory)Opens a database.
OpenDatabaseByReplicaIDOpens a database with a specified replica ID.
OpenDatabaseIfModifiedOpens a database if it has been modified since a specified date.
OpenMailDatabaseOpens the current user's mail database.

Examples

NameDescription
Examples: Name property (NotesDbDirectory)1. This LotusScript® agent gets the name of a database directory.
Examples: OpenDatabase method (NotesDbDirectory)This Visual Basic code opens a database in the local Domino® or Notes® directory.
Examples: Parent property (NotesDbDirectory)This Visual Basic code displays the parent user name of a NotesDbDirectory object.