SPRecycleBinItem.Restore method

Restores the item to its original location.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Restore
'Usage
Dim instance As SPRecycleBinItem

instance.Restore()
public void Restore()

Exceptions

Exception Condition
SPQueryThrottledException

The operation exceeds the list view threshold set by an administrator.

SPException

An exception occurred while restoring the item.

See also

Reference

SPRecycleBinItem class

SPRecycleBinItem members

Microsoft.SharePoint namespace