摘要: 转:http://blog.csdn.net/ma_jiang/article/details/6553392在工作中接触了一些SharePoint的数据库中的一些表。在此做个总结。一位高手告诉我了与Content Database相关的三个表:AllUserData AllDocs AllDocStreams 我就是从这三个表开始研究的。而且在研究中发现 AllLists 表也很重要,但遗憾的是没在msdn上找到对这个表的说明。表中每列的含义我就不多说了,在msdn上都有。 我在此举几个例子来介绍一下这些表的使用。1. 得到用户上传的文档的数目:select count(*) as Doc. 阅读全文
posted @ 2013-12-27 17:58 jackljf 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 转:http://dugan.bokee.com/630497.htmlDatabases Table Stored Procedures(数据库表存储过程)Globals Table Stored Procedures(全局表存储过程)Servers Table Stored Procedures(服务器表存储过程)Services Table Stored Procedures(服务表存储过程)Sites Table Stored Procedures(站点表存储过程)VirtualServers Table Stored Procedures(虚服务器表存储过程)Sharepoint数据 阅读全文
posted @ 2013-12-27 17:58 jackljf 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 转:http://blog.csdn.net/ma_jiang/article/details/6553373部分常见用例场景都是关于显示和编辑SharePoint列表的——可惜,这也是我们看到很多性能问题出现的地方,这是因为SharePoint对象模型并不总是以性能优化的方式被使用。用例1:在SharePoint列表中,存储了多少项目?有多种方式来回答这个问题。我曾经看到很多次的一个例子是下面这样:int noOfItems = SPContext.Current.List.Items.Count; 这句代码告诉我们在列表中数据项的数目,为了得到这个结果不得不从内容数据库中获取列表的所有项目 阅读全文
posted @ 2013-12-27 17:58 jackljf 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 转:http://dugan.bokee.com/630446.html以下是Microsoft Windows SharePoint Services架构中数据库列表。Configuration Database Tables(配置数据库表)Content Database Tables(内容数据库表)SharePoint Services 数据库表(Database Tables)The following is a list of database tables used in a Microsoft Windows SharePoint Services topology.以下是Mic 阅读全文
posted @ 2013-12-27 17:56 jackljf 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.cnblogs.com/chenxizhang/archive/2009/10/23/1588415.html我们经常需要对一个列表进行查询,此时最灵活的方式就是直接使用SPQuery对象。这个对象的查询语法称为CAML。一般为了简单起见,我们会通过下面这样小工具先生成一个查询范例我们可以看到查询文本大致如下 chenxizhang 点击"Test"之后,可以看到如下效果 下面,我们就很自然地想到将这个查询文本用于我们自己的SPQuery对象 SPSite site = new SPSite("http://localhost:8080& 阅读全文
posted @ 2013-12-27 17:45 jackljf 阅读(115) 评论(0) 推荐(0) 编辑