IIS代码管理(2):创建应用程序池和属性
摘要:
下面的代码实现应用程序池的创建,并设置一些属性。string strAppPoolName = "MyAppPool1";System.DirectoryServices.DirectoryEntry appPoolRoot = new System.DirectoryServices.DirectoryEntry(@"IIS://localhost/W3SVC/AppPools");System.DirectoryServices.DirectoryEntry newAppPool = appPoolRoot.Children.Add(strAppPo 阅读全文
posted @ 2006-10-05 08:19 goodvify 阅读(165) 评论(0) 推荐(0) 编辑