Partilhar via


SPRecycleBinItemCollection.MoveToSecondStage Method (Guid )

Moves the specified items from the end-user Recycle Bin to the second stage of the site-collection Recycle Bin.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub MoveToSecondStage ( _
    ids As Guid() _
)
'Usage
Dim instance As SPRecycleBinItemCollection
Dim ids As Guid()

instance.MoveToSecondStage(ids)
public void MoveToSecondStage(
    Guid[] ids
)

Parameters

  • ids
    Type: []

    A System.Guid array that specifies the Recycle Bin items to move to the second-stage Recycle Bin.

Remarks

Items that are deleted from the end-user Recycle Bin remain visible in the second-stage view of the site-collection Recycle Bin.

See Also

Reference

SPRecycleBinItemCollection Class

SPRecycleBinItemCollection Members

MoveToSecondStage Overload

Microsoft.SharePoint Namespace