public IISTools(IDomainContext context, string serverName = "localhost") { handle = new IISServerHandle(context, serverName); ApplicationPool = new ApplicationPoolTools(handle); WebSite = new WebSiteTools(handle); WebApplication = new WebApplicationTools(handle); }
public IISTools(IDomainContext context, string serverName = "localhost") { this.Context = context; Server = ServerManager.OpenRemote(serverName); ApplicationPool = new ApplicationPoolTools(context, Server); WebSite = new WebSiteTools(context, Server); WebApplication = new WebApplicationTools(context, Server); }