会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Y.S.
博客园
首页
新随笔
联系
订阅
管理
2016年2月3日
ASP.NET C# 如何在程序中控制IIS服务或应用程序池重启?
摘要: 停止IIS服务ServiceController sc = new ServiceController("iisadmin");if(sc.Status==ServiceControllerStatus.Running) { sc.Stop();} 重启IIS服务ServiceController
阅读全文
posted @ 2016-02-03 21:39 Y.S.
阅读(2331)
评论(0)
推荐(1)
编辑
公告