iis的完整控制类(编辑修改稿)内容摘要:
{ //throw new Exception(This virtual directory is not exists)。 } return tmp。 } /// summary /// 更新一个虚拟目录 /// /summary /// param name=dir/param public void Update(VirtualDirectory dir) { //判断需要更改的虚拟目录是否存在 if (()) { DirectoryEntry ode = (, IIsWebVirtualDir)。 UpdateDirInfo(ode, dir)。 } else { //throw new Exception(This virtual directory is not exists.)。 } } /// summary /// 删除一个虚拟目录 /// /summary /// param name=strVirdir/param public void Delete(string strVirdir) { if ((strVirdir)) { object[] paras = new object[2]。 paras[0] = IIsWebVirtualDir。 //表示操作的是虚拟目录 paras[1] = strVirdir。 (Delete, paras)。 ()。 } else { //throw new Exception(Can39。 39。 t delete + strVirdir + ,because it isn39。 39。 t exists.)。 } } /// summary /// 批量更新 /// /summary public void UpdateBatch() { BatchUpdate(_virdirs)。 } //重载一个: ) public void UpdateBatch(VirtualDirectories vds) { BatchUpdate(vds)。 } ///summary ///私有方法 ////summary public void Close() { ()。 _virdirs = null。 ()。 } /// summary /// 连接服务器 /// /summary private void ConnectToServer() { string strPath = + _server + /W3SVC/ + _website + /ROOT。 try { = new DirectoryEntry(strPath)。 _virdirs = GetVirDirs()。 } catch (Exception e) { //throw new Exception(Can39。 39。 t connect to the server [+ _server +] ...,e)。 } } //执行批量更新 private void BatchUpdate(VirtualDirectories vds) { _batchflag = true。 foreach (object item in ) { VirtualDirectory vd = (VirtualDirectory) item。 switch () { case 0: break。 case 1: Create(vd)。 break。 case 2: Update(vd)。 break。 } } _batchflag = false。 } //更新东东 private void UpdateDirInfo(DirectoryEntry de, VirtualDirectory vd) { [AnonymousUserName][0] =。 [AnonymousUserPass][0] =。 [AccessRead][0] =。 [AccessExecute][0] =。 [AccessWrite][0] =。 [AuthBasic][0] =。 [AuthNTLM][0] =。 [ContentIndexed][0] =。 [EnableDefaultDoc][0] =。 [EnableDirBrowsing][0] =。 [AccessSSL][0] =。 [AccessScript][0] =。 [DefaultDoc][0] =。 [Path][0] =。 [AppFriendlyName][0] =。 ()。 } //获取虚拟目录集合 private VirtualDirectories GetVirDirs(DirectoryEntries des) { VirtualDirectori。iis的完整控制类(编辑修改稿)
相关推荐
适用,并增加下列要求 The anization shall plan and develop the processes needed for HSF product realization. 组织应规划并发展实现 HSF 产品所需的流程。 In planning HSF product realization, the anization shall determine the
面、集成电路 半导体厂家将大的硅片切成小块,一个六英尺直径的硅片可以造出一千多个芯片。 对小硅片进行光刻以产生必要的电路,并将她封装在黑色的集成电路模块中。 将集成电路的输入输出端连结到大的接触面上,便于今后读写器的操作。 最后,把造好的模块嵌入到卡上。 我国 IC 卡工程的由来 93 年 6 月国务院启动了以发展我国电子货币应用为重点的各类卡基应用系统工程 ——金卡工程。
明灯,能够增加目标发现距离,保障对有效作用距离内的目标进行观察和测量,能在夜间发现 3000 米距离内的 目标。 英国 OPTEX 公司生产配备射程能达五公里 瓦能变焦的激光照 明电筒的3000XL 型 HP 夜光夜视仪。 另外美国生产的 ATV2020i 军民两用激光夜视仪射程达到110 km。 目前 ,该项技术的发展势头仍然非常迅猛。 我国在这方面的工作与国外相比 ,差距较大
tore the variables saved in the file “” you would execute the mand: IDL RESTORE, ‟‟ A save file can be used to store your data in a form that is ready to be used by IDL, transfer data across
因本实验室 使用 天平,相对于样品的称样量 177。 ,对 标准不确定度分量 为( ) / 3 =%, ; ICP 仪引起的不确定度 分量 我们 使用的 ICP 仪为岛津 7510 型,标准 不确定度 为 % K=3;故 ICP 仪引起的不确定度分量 为 %% ; 则 B 类原因引起不确定度分量 %. 46 7%0. 11 5%0. 46 2%%. 51 0%U ( x3 ) 22222
一个功能强大的 STL 库。 STL 的一个重大成就在于,它提供了相当多的有用算法。 它是在一个有效的框架中完成这些算法的。 STL 提供了大约 100 个实现算法的模板函数。 熟悉了STL 之后,你就会发现:以前所写的许多 “有趣功能 ”的代码现在只需要用短短几行主能完全替换了。 “The Art of Computer Programming”书中强调 算法 + 数据结构 = 程序 在过去