题
什么是几个常用的列表中隐藏和对象,我们应该在Sharepoint知道的?
解决方案
using (SPSite site = new SPSite("http://localhost"))
using (SPWeb web = site.RootWeb)
foreach (SPList list in web.Lists)
Console.WriteLine("{0} - {1}", list.Title ?? "(noname)", list.RootFolder.ServerRelativeUrl);
我得到:
Cache Profiles - /Cache Profiles Content and Structure Reports - /Reports List Converted Forms - /IWConvertedForms Documents - /Documents Form Templates - /FormServerTemplates Images - /PublishingImages List Template Gallery - /_catalogs/lt Long Running Operation Status - /Long Running Operation Status Master Page Gallery - /_catalogs/masterpage Notification List - /Notification Pages Pages - /Pages Quick Deploy Items - /Quick Deploy Items Relationships List - /Relationships List Reusable Content - /ReusableContent Site Collection Documents - /SiteCollectionDocuments Site Collection Images - /SiteCollectionImages Site Template Gallery - /_catalogs/wt Style Library - /Style Library User Information List - /_catalogs/users Variation Labels - /Variation Labels Web Part Gallery - /_catalogs/wp Workflow Tasks - /WorkflowTasks
PS:启用出版,MOSS企业
其他提示
这可能不是一个非常有用的答案,但我的SharePoint开发的经验表明有这么多洞摔倒用的非隐藏的,有时甚至是文件列表和对象游荡到隐藏的人的岩石领土是自找麻烦。
长时间运行的操作状态列表。
不隶属于 StackOverflow