在sharepoint 2010中自定义recyclebin以删除根网站集? [英] Custom recyclebin in sharepoint 2010 for root site collection deletion?

查看:84
本文介绍了在sharepoint 2010中自定义recyclebin以删除根网站集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要自定义回收站。

1)当用户删除根网站(网站集)时,它应该将备份文件保存在任何静态位置。



请建议我如何实现这个目标?

I have a requirement need custom recycle bin.
1)when user deleting a root site(site collection) it should save the backup file any static location.

Please suggest me how to achieve this ?

非常感谢,

Santhosh

推荐答案

实现自定义网络事件接收器并覆盖
SPWebEventReceiver.WebDeleting
事件。在此事件中使用
导出当前站点
SPExport
所需位置的API(最初站点在Sharepoint服务器的文件系统上导出,但您可以将其上传到doclib之后)。
implement custom web event receiver and override SPWebEventReceiver.WebDeleting event. In this event export current site using SPExport API to needed location (initially site is exported on the file system of Sharepoint server, but you may upload it e.g. to doclib after that).


这篇关于在sharepoint 2010中自定义recyclebin以删除根网站集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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