Exemple #1
0
 private Interfaces.ICommandResult UpdatePassword(string windowsServiceName)
 {
     try
     {
         WindowsServiceLogonUtil.UpdateWindowsServiceLogonPassword(windowsServiceName, m_password);
         return(new ServiceAccountRslt(this));
     }
     catch (Exception e)
     {
         return(new ServiceAccountRslt(e.ToString(), this));
     }
 }