public Program() { _objDMS = new ManDMS(); _objSession = _objDMS.Sessions.Add(strServer); _objSession.Login(strUsername, strPassword); _objSession.MaxRowsForSearch = 1000; _objSession.MaxRowsNonSearch = 500; _objDatabase = _objSession.PreferredDatabase; }
public Session() { _iManDMS = new ManDMS(); _iManSession = _iManDMS.Sessions.Add(KConfig.IMServer); }