private static void SetPool(IISHandler handler, string siteName, string poolName) { Site site = handler.GetSiteByName(siteName); ApplicationPool pool = handler.AddApplicationPool(poolName); handler.SetSiteApplicationPool(site, pool); }
private static void SetPool(IISHandler handler, string siteName, string poolName) { Site site = handler.GetSiteByName(siteName); ApplicationPool pool = handler.AddApplicationPool(poolName); handler.SetSiteApplicationPool(site, pool); }