SPSite.GetRecycleBinStatistics Method

Returns the number of items in the recycle bin and its size as output parameters.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Sub GetRecycleBinStatistics ( _
    <OutAttribute> ByRef itemCount As Integer, _
    <OutAttribute> ByRef size As Long _
)

Dim instance As SPSite
Dim itemCount As Integer
Dim size As Long

instance.GetRecycleBinStatistics(itemCount, _
    size)
public void GetRecycleBinStatistics(
    out int itemCount,
    out long size
)

Parameters

  • itemCount
    Type: System.Int32
    A 32-bit integer that indicates the number of items in the recycle bin.
  • size
    Type: System.Int64
    A long integer that indicates the size of the recycle bin.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace