Пример #1
0
 public Program()
 {
     _objDMS     = new ManDMS();
     _objSession = _objDMS.Sessions.Add(strServer);
     _objSession.Login(strUsername, strPassword);
     _objSession.MaxRowsForSearch = 1000;
     _objSession.MaxRowsNonSearch = 500;
     _objDatabase = _objSession.PreferredDatabase;
 }
Пример #2
0
 public Session()
 {
     _iManDMS = new ManDMS();
     _iManSession = _iManDMS.Sessions.Add(KConfig.IMServer);
 }