Export (0) Print
Expand All

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)

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:
© 2014 Microsoft