IsInService (NotesDatabase - JavaScript™)
Read-write. Indicates whether a database on a server in a cluster is accessible.
Defined in
NotesDatabaseSyntax
isInService() : boolean
setInService(inservice:boolean) : void
Legal value | Description |
---|---|
true |
if the database is in service |
false |
if the database is not in service |
Usage
The markForDelete method sets this property read-only with a value of false.The database must be open to use this property.
Examples
This button toggles whether the current database is in service.database.setInService(!database.isInService());
requestScope.status = "Database is in service = " + database.isInService();