你可以使用 System.DirectoryServices http://terrapinstation.wordpress.com/2008/06/12/restart-iis-application-pool-from-aspnet-page/