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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

'Declaration
Public Sub GetRecycleBinStatistics ( _
	<OutAttribute> ByRef itemCount As Integer, _
	<OutAttribute> ByRef size As Long _
)
'Usage
Dim instance As SPSite
Dim itemCount As Integer
Dim size As Long

instance.GetRecycleBinStatistics(itemCount, _
	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.

Community Additions

ADD
Show:
© 2014 Microsoft