相关文章  
  • web集群服务的负载均衡方案选择与实现
  • 在Win 2003环境中设置一个Web服务器
  • 建立大容量Web界面的Email系统
  • 用SQLXML3把存储过程暴露为Web服务
  • IIS 操作失败诊断指南
  • IIS永远的后门
  • 提高IIS 5.0网站服务器的执行效率
  • IIS 5.1和IIS 6.0一些显著的重要区别
  • 深入剖析Windows IIS 6.0(1)
  • 深入剖析Windows IIS 6.0(2)
  •   推荐  
      科普之友首页   专利     科普      动物      植物        天文   考古   前沿科技
     您现在的位置在:  首页 >>文献 >>培训

    IIS控制管理(Web虚拟目录创建管理)9

    = new DirectoryEntry(strPath);
      _virdirs = GetVirDirs(this.rootfolder.Children);
      }
      catch(Exception e)
      {
      //throw new Exception("Can''t connect to the server ["+ _server +"] ...",e);
      }
      }
      //执行批量更新
      private void BatchUpdate(VirtualDirectories vds)
      {
      _batchflag = true;
      foreach(object item in vds.Values)
      {
      VirtualDirectory vd = (VirtualDirectory)item;
      switch(vd.flag)
      {
      case 0:
      break;
      case 1:
      Create(vd);
      break;
      case 2:
      Update(vd);
      break;
      }
      }
      _batchflag = false;
      }
      //更新东东
      private void UpdateDirInfo(DirectoryEntry de,VirtualDirectory vd)
      {
      de.Properties["AnonymousUserName"][0] = vd.AnonymousUserName;
      de.Properties["AnonymousUs

    页码:[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]9页、共10页

         

          设为首页       |       加入收藏       |       广告服务       |       友情链接       |       版权申明      

    Copyriht 2007 - 2008 ©  科普之友 All right reserved