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)
Available in Sandboxed Solutions: No

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

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.DataTable
A System.Data.DataTable object that contains the storage information
Show: