SPSite.StorageManagementInformation method
NOTE: This API is now obsolete.
Returns information about storage management for the site collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("SPSite.StorageManagementInformation is expensive; avoid using it.")> _
Public Function StorageManagementInformation ( _
ltVar As SPSite.StorageManagementInformationType, _
sordVar As SPSite.StorageManagementSortOrder, _
soVar As SPSite.StorageManagementSortedOn, _
nMaxResults As UInteger _
) As DataTable
'Usage
Dim instance As SPSite
Dim ltVar As SPSite.StorageManagementInformationType
Dim sordVar As SPSite.StorageManagementSortOrder
Dim soVar As SPSite.StorageManagementSortedOn
Dim nMaxResults As UInteger
Dim returnValue As DataTable
returnValue = instance.StorageManagementInformation(ltVar, _
sordVar, soVar, nMaxResults)
[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.StorageManagementInformationTypeAn SPSite.StorageManagementInformationType value that specifies the kind of storage management data to display.
sordVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortOrderAn SPSite.StorageManagementSortOrder value that specifies the direction in which items are sorted on the page.
soVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortedOnAn SPSite.StorageManagementSortedOn value that specifies whether items on the page are sorted by size or by date.
nMaxResults
Type: System.UInt32An unsigned 32-bit integer that specifies the maximum number of results to return.
Return value
Type: System.Data.DataTable
A System.Data.DataTable object that contains the storage information