首页 > 开发 > 综合 > 正文

创建虚拟目录的常用属性

2024-07-21 02:16:20
字体:
来源:转载
供稿:网友
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();
}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表