IIS6 应用程序池状态

发布于 2024-11-18 02:09:05 字数 183 浏览 10 评论 0原文

我想知道是否有一种方法可以使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Oo萌小芽oO 2024-11-25 02:09:05

看起来您会使用相同的属性: 使用 C# 检查应用程序池 (IIS 6) 的状态

Looks like you'd use the same property: Check the status of an application pool (IIS 6) with C#

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文