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)

'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.

Show: