62,263
社区成员
发帖
与我相关
我的任务
分享
Dictionary<string, string> result = new Dictionary<string, string>();
DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC");
foreach (DirectoryEntry e in root.Children) {
result[e.SchemaClassName] = e.SchemaClassName;
}