SPSite.StorageManagementInformation method
SharePoint 2013
NOTE: This API is now obsolete.
Returns information about storage management for the site collection.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ObsoleteAttribute("SPSite.StorageManagementInformation is expensive; avoid using it.")] public DataTable StorageManagementInformation( SPSite.StorageManagementInformationType ltVar, SPSite.StorageManagementSortOrder sordVar, SPSite.StorageManagementSortedOn soVar, uint nMaxResults )
Parameters
- ltVar
- Type: Microsoft.SharePoint.SPSite.StorageManagementInformationType
An SPSite.StorageManagementInformationType value that specifies the kind of storage management data to display.
- sordVar
- Type: Microsoft.SharePoint.SPSite.StorageManagementSortOrder
An SPSite.StorageManagementSortOrder value that specifies the direction in which items are sorted on the page.
- soVar
- Type: Microsoft.SharePoint.SPSite.StorageManagementSortedOn
An SPSite.StorageManagementSortedOn value that specifies whether items on the page are sorted by size or by date.
- nMaxResults
- Type: System.UInt32
An unsigned 32-bit integer that specifies the maximum number of results to return.
Return value
Type: System.Data.DataTableA System.Data.DataTable object that contains the storage information