Compartir a través de


RecycleBinItemCollection.DeleteAll Method

Permanently deletes all Recycle Bin items.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Sub DeleteAll
'Usage
Dim instance As RecycleBinItemCollection

instance.DeleteAll()
[RemoteAttribute]
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