欢迎光临
我们一直在努力

创建虚拟目录的常用属性-.NET教程,Asp.Net开发

建站超值云服务器,限时71元/月

private void updatedirinfo(directoryentry de,virtualdirectory vd)

{

de.properties["anonymoususername"][0] = vd.anonymoususername;

de.properties["anonymoususerpass"][0] = vd.anonymoususerpass;

de.properties["accessread"][0] = vd.accessread;

de.properties["accessexecute"][0] = vd.accessexecute;

de.properties["accesswrite"][0] = vd.accesswrite;

de.properties["authbasic"][0] = vd.authbasic;

de.properties["authntlm"][0] = vd.authntlm;

de.properties["contentindexed"][0] = vd.contentindexed;

de.properties["enabledefaultdoc"][0] = vd.enabledefaultdoc;

de.properties["enabledirbrowsing"][0] = vd.enabledirbrowsing;

de.properties["accessssl"][0] = vd.accessssl;

de.properties["accessscript"][0] = vd.accessscript;

de.properties["defaultdoc"][0] = vd.defaultdoc;

de.properties["path"][0] = vd.path;

de.properties["appisolated"][0]=vd.protection;

de.properties["dontlog"][0]=vd.log;

de.properties["accesssource"][0]=vd.accesssource;

de.commitchanges();

}

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 创建虚拟目录的常用属性-.NET教程,Asp.Net开发
分享到: 更多 (0)

相关推荐

  • 暂无文章