[windpole]使用“properties.ListItem.SystemUpdate();”而非“properties.ListItem.Update();”
2008-06-02 18:44
585 查看
properties.ListItem["PK_WP"] = 3333;
properties.ListItem.SystemUpdate();
//如用properties.ListItem.Update();
//你将收到XX已被签出或锁定编辑的异常。
properties.ListItem.SystemUpdate();
//如用properties.ListItem.Update();
//你将收到XX已被签出或锁定编辑的异常。
相关文章推荐
- 使用SharePoint Web Serivce(2)--Update Delete a item in a list
- 使用哈希表中的值的时候尽量使用properties.AfterProperties[properties.ListItem.Fields["Closed Reasons"].InternalName] 这种形式,否则容易没有值。
- System.getProperties使用方法
- SharePoint : The difference and relation between SPListItem.Update and SPListItem.SystemUpdate Methods 【转载】
- JavaScript 调用sharepoint内置webservice(UpdateListItems和GetListItem())
- Sharepoint学习笔记—ECMAScript对象模型系列-- 6、使用ECMA操作列表项对象(list item)
- Update list item using Linq to SharePoint
- SharePoint 2013 中使用 JavaScript Like 和Unlike list item/page/document
- SPListItem.Update() 与 SPListItem.SystemUpdate()区别
- The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[BMS.DataAccess.Models.ServiceTyp
- IOS学习UIBarButtonSystemItem各个参数的使用含义详解...
- 在drawable下的xml文件中layer-list的用二:在layer-list下的item标签中使用shape画图,以及backgroun和src的区别
- listView中多个listItem布局时 convertView缓存及使用(转)
- 具有键“Shape”的 ViewData 项属于类型“System.String”,但它必须属于类型“IEnumerable<SelectListItem>”。
- 具有键×××的 ViewData 项属于类型System.String,但它必须属于类型IEnumerable<SelectListItem>
- 使用Powershll 取出List中Item的权限
- 在listView中多个listItem布局时,convertView缓存及使用
- 如何使用android.os.SystemProperties
- android listview综合使用演示样例_结合数据库操作和listitem单击长按等事件处理
- dbutils使用---QueryRunner(query_update)、BeanList\BeanHandler、MapList\MapHandler、ScalarHandler