To distinguish between a Domino Directory and Personal Address Book, use the IsPublicAddressBook and IsPrivateAddressBook properties of a database. You can test these properties before opening the database.
To distinguish a directory catalog, use the IsDirectoryCatalog property of a database. You can test this property only after opening the database. Either IsPublicAddressBook or IsPrivateAddressBook is also True for a directory catalog.
A database retrieved through AddressBooks is closed. To access all its properties and methods, you must open the database with the Open or OpenIfModified method in NotesDatabase. Only the following properties are available when the database is closed: