app pool restart thing out of the way and force dedicated app pool thing that I approved
This commit is contained in:
parent
580a898523
commit
cfd0b39673
14 changed files with 767 additions and 396 deletions
|
@ -1524,6 +1524,27 @@ namespace WebsitePanel.Providers.Web
|
|||
}
|
||||
}
|
||||
|
||||
// AppPool
|
||||
public void ChangeAppPoolState(string siteId, AppPoolState state)
|
||||
{
|
||||
webObjectsSvc.ChangeAppPoolState(siteId, state);
|
||||
}
|
||||
|
||||
public AppPoolState GetAppPoolState(string siteId)
|
||||
{
|
||||
using (ServerManager srvman = webObjectsSvc.GetServerManager())
|
||||
{
|
||||
return GetAppPoolState(srvman, siteId);
|
||||
}
|
||||
}
|
||||
|
||||
public AppPoolState GetAppPoolState(ServerManager srvman, string siteId)
|
||||
{
|
||||
return webObjectsSvc.GetAppPoolState(srvman, siteId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether virtual iisDirObject with supplied name under specified site exists.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue