private NotesDatabase db = null;
private NotesSession session = null;
private string sessionStatus = null;
public void initialize(string keyword, string notesServer, string notesFile)
{
sessionStatus = "connected";
try
setSession(new NotesSession());
session.Initialize(keyword);
setDb(getSession().GetDatabase(notesServer, notesFile, false));
}
catch (Exception e)
sessionStatus = "Not connected " + e.ToString();
setSession(null);