江湖路
专注AJAX和Moss
摘要: 遍历所有网站和列表 1 SPSite oSiteCollection = SPContext.Current.Site; 2 SPWebCollection collWebsite = oSiteCollection.AllWebs; 3 4 for (int i = 0; i < collWebsite.Count; i++) 5 { 6 using (SPWeb oWebsite = collWebsite[i]) 7 { 8 SPListCollection collList = oWebsite.Lists; 9 10 for (int... 阅读全文
posted @ 2012-07-26 15:35 wengnet 阅读(651) 评论(1) 推荐(1) 编辑