= 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页 |