Examples: IsMultiDbSearch property
This agent prints whether the current database represents a multi-database search index.
import lotus.domino.*;
public class JavaAgent extends AgentBase {
public void NotesMain() {
try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
// (Your code goes here)
Database db = agentContext.getCurrentDatabase();
String title = db.getTitle();
if (db.isMultiDbSearch())
System.out.println("Database \"" + title +
"\" is a multi-database search index");
else
System.out.println("Database \"" + title +
"\" is not a multi-database search index");
} catch(Exception e) {
e.printStackTrace();
}
}
}