枚举 IIS 中的应用程序池
我想知道是否有一种方法可以在不使用 WMI 的情况下使用 ASP.net 3.5 枚举本地 IIS 服务器上的应用程序池集合(不是给定池中的应用程序 - 而是池本身),如果可以的话有人可以吗提供一个链接或示例来说明如何完成此操作?
(我忘了添加IIS版本是6.0)。
I am wondering if there is a way to enumerate the collection of applications pools (not the applications in a given pool - but the pools themselves) on the local IIS server using ASP.net 3.5 without the use of WMI, and if so can someone provide a link or example to how this is done?
(I forgot to add the IIS version is 6.0).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
另一种方法可能会有所帮助。
Another way that might be helpful.
这应该有帮助:
我还应该补充一点,这在部分信任中不起作用。
This should help:
I should also add this won't work in partial trust.