标签: '虚拟目录'

.net对虚拟目录的操作 一、查看虚拟目录是否存在 private bool IsExitesVirtualDir(string virtualdirname) { bool exited =false; DirectoryEntry _entry = new DirectoryEntry("IIS://localhost/W3SVC/1/Root"); DirectoryEntries _entries = _entry.Children; foreach(DirectoryEntry _cen in _entries) { if(_ce… http://www.jianfangkk.com/aspnet/201408/158
二维码
意见反馈 二维码