IIS6 应用程序池状态
我想知道是否有一种方法可以使用 C# 中的 DirectoryEntry 捕获 IIS6 应用程序池的状态?
我见过人们在 IIS7 中使用 AppPoolState,但是是否有适用于 IIS6 的等效项?或者我需要使用不同的命名空间吗?
编辑:有什么可以显示状态字符串吗? AppPoolState 看起来只接受整数。
I was wondering if there is a way to capture the state of an IIS6 App Pool using DirectoryEntry in C#?
I have seen people use AppPoolState for IIS7 but is there an equivalent that will work for IIS6? Or do I need to use a different namespace?
EDIT: Is there anything that will display a string for status? AppPoolState looks like it only accepts integers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您会使用相同的属性: 使用 C# 检查应用程序池 (IIS 6) 的状态
Looks like you'd use the same property: Check the status of an application pool (IIS 6) with C#