Gets both the number of items in the recycle bin and its size.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
)
参数
itemCount
类型:System.Int32When this method returns, the number of items in the recycle bin.
size
类型:System.Int64When 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.