相关文章  
  • 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虚拟目录创建管理)8

    ] = "IIsWebVirtualDir"; //表示操作的是虚拟目录
      paras[1] = strVirdir;
      rootfolder.Invoke("Delete",paras);
      rootfolder.CommitChanges();
      }
      else
      {
      //throw new Exception("Can''t delete " + strVirdir + ",because it isn''t exists.");
      }
      }
      //批量更新
      public void UpdateBatch()
      {
      BatchUpdate(_virdirs);
      }
      //重载一个:-)
      public void UpdateBatch(VirtualDirectories vds)
      {
      BatchUpdate(vds);
      }
       
      ///
      ///私有方法
      ///

      
      public void Close()
      {
      _virdirs.Clear();
      _virdirs = null;
      rootfolder.Dispose();
      
      }
      //连接服务器
      private void ConnectToServer()
      {
      string strPath = "IIS://" + _server + "/W3SVC/" + _website +"/ROOT";
      try
      {
      this.rootfolder

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

         

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

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