Пример #1
0
 public static void StopStoreSCPService()
 {
     try
     {
         TMSServerService.Stop();
     }
     catch (Exception ex)
     {
         LogAdapter.Logger.TraceException(ex);
     }
 }
Пример #2
0
 public static bool ReStartStoreScpService()
 {
     try
     {
         TMSServerService.Stop();
         TMSServerService.Start();
         return(true);
     }
     catch (Exception ex)
     {
         LogAdapter.Logger.TraceException(ex);
         return(false);
     }
 }