Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Moves the item from the end-user Recycle Bin to the second-stage Recycle Bin of the site collection.
Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub MoveToSecondStage
'Usage
Dim instance As SPRecycleBinItem
instance.MoveToSecondStage()
public void MoveToSecondStage()
Exceptions
| Exception | Condition | 
|---|---|
| InvalidOperationException | The value of the ItemState property is not FirstStageRecycleBin. -or- The second-stage Recycle Bin has not been allocated any space for items. -or- The Recycle Bin item could not be found.  | 
Remarks
Items that are deleted from the end-user Recycle Bin remain visible in the second stage view of the site-collection Recycle Bin.