通过脚本获取/添加PropertyBag值 [英] To get / Add PropertyBag value through script

查看:193
本文介绍了通过脚本获取/添加PropertyBag值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请让我知道该脚本来获取/添加网站收集的属性包值.

Env:sharePoint2013



解决方案

要获取/更新网站集的属性包,我们需要使用 SPWeb类中的AllProperties 成员.

 


spWeb.AllProperties


有关如何使用PowerShell为网站集创建/更新/删除属性包的演示:

最好的问候,

Linda Zhang


Hi,

Please let me know the script to get / add property bag value for site-collection.

Env : sharePoint2013



解决方案

Hi Jio333,

To get/update the property bag for a site collection, we need to use the AllProperties member in the SPWeb class.


spWeb.AllProperties


A demo about how to create/update/delete a property bag for a site collection using PowerShell:

https://gallery.technet.microsoft.com/office/How-to-create-update-and-e4836e99

Best Regards,

Linda Zhang


这篇关于通过脚本获取/添加PropertyBag值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆