Read-only. Indicates whether a database is open.
Boolean
To get: flag = notesDatabase.IsOpen
A database must be open to use the NotesDatabase properties except the following: DelayUpdates, DesignTemplateName, FileName, FilePath, IsOpen, IsPrivateAddressBook, IsPublicAddressBook, Parent, ReplicaID, Server, Size, SizeQuota, SizeWarning, TemplateName, and Title.
The following do not open a database: NotesDbDirectory.GetFirstDatabase, NotesDbDirectory.GetNextDatabase, and NotesSession.AddressBooks. You must explicitly call NotesDatabase.Open.
If a NotesDatabase object must be open but is not, the following error occurs: "Database has not been opened yet." This error does not occur when the NotesDatabase is created, but later when the attempt to use it occurs. Possible causes of the error are: the database as specified does not exist; the user does not have permission to access the database; the database is damaged.
IsOpen in Java Database class
See examples