RecycleBinItemCollection.DeleteAll method

Permanently deletes all Recycle Bin items.

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

Syntax

'Declaration
Public Sub DeleteAll
'Usage
Dim instance As RecycleBinItemCollection

instance.DeleteAll()
public void DeleteAll()

Exceptions

Exception Condition
[Microsoft.SharePoint.SPQueryThrottledException]

Throttling limit is exceeded by the operation. Error code: -2147024860.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: - 2147024891.

See also

Reference

RecycleBinItemCollection class

RecycleBinItemCollection members

Microsoft.SharePoint.Client namespace