Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetRecycleBinStatistics Method

SPSite.GetRecycleBinStatistics Method

Gets both the number of items in the recycle bin and its size.

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

public void GetRecycleBinStatistics(
	out int itemCount,
	out long size
)

Parameters

itemCount
Type: System.Int32

When this method returns, the number of items in the recycle bin.

size
Type: System.Int64

When this method returns, the size, in bytes, of the recycle bin.

This method gets the number of items in the recycle bin and its size, in bytes, as output parameters.

Show:
© 2015 Microsoft