SPWeb.Recycle 方法

Sends the website to the recycle bin.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub Recycle
用法
Dim instance As SPWeb

instance.Recycle()
public void Recycle()

异常

异常 条件
SPException

The website is a root web.

NotSupportedException

The website cannot be restored.

备注

The website can be restored or permanently deleted from the recycle bin.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间