[英]How to Start/Stop Default Web Site and Application Pools in IIS7 programmatically
如何在C#中以編程方式啟動/停止IIS7的默認網站和任何應用程序池?
您可以使用System.DirectoryServices
http://terrapinstation.wordpress.com/2008/06/12/restart-iis-application-pool-from-aspnet-page/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.