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

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


Type: Microsoft.SharePoint.SPSite.StorageManagementInformationType

An SPSite.StorageManagementInformationType value that specifies the kind of storage management data to display.

Type: Microsoft.SharePoint.SPSite.StorageManagementSortOrder

An SPSite.StorageManagementSortOrder value that specifies the direction in which items are sorted on the page.

Type: Microsoft.SharePoint.SPSite.StorageManagementSortedOn

An SPSite.StorageManagementSortedOn value that specifies whether items on the page are sorted by size or by date.

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