【发布时间】:2010-06-11 13:23:05
【问题描述】:
如何在 C# 中以编程方式启动/停止默认网站和 IIS7 的任何应用程序池?
【问题讨论】:
如何在 C# 中以编程方式启动/停止默认网站和 IIS7 的任何应用程序池?
【问题讨论】:
您可以使用 System.DirectoryServices
http://terrapinstation.wordpress.com/2008/06/12/restart-iis-application-pool-from-aspnet-page/
【讨论】: