Type (Database - Java)

Read-only. Database type.

Note: This property is new with Release 6.5.

Defined in

Database

Data type

int

Syntax

public int getType()
    throws NotesException

Legal values

  • Database.DBTYPE_ADDR_BOOK (10) - Domino® Directory or Personal Address Book
  • Database.DBTYPE_IMAP_SVR_PROXY (6) - IMAP server proxy
  • Database.DBTYPE_LIBRARY (12) - database library
  • Database.DBTYPE_LIGHT_ADDR_BOOK (9) - Directory Catalog
  • Database.DBTYPE_MAILBOX (3) - mailbox
  • Database.DBTYPE_MAILFILE (2) - mail file
  • Database.DBTYPE_MULTIDB_SRCH (8) - Domain Catalog
  • Database.DBTYPE_NEWS_SVR_PROXY (5) - news server proxy
  • Database.DBTYPE_PERS_JOURNAL (11) - Personal Journal
  • Database.DBTYPE_PORTFOLIO (7) - portfolio
  • Database.DBTYPE_STANDARD (13) - standard
  • Database.DBTYPE_SUBSCRIPTIONS (4) - subscriptions
  • Database.DBTYPE_WEB_APP (1) - Web application

Usage

The database must be open to use this property.

Example