SPFile.StorageManagementWebPartPageInformation method

NOTE: This API is now obsolete.

Returns information about storage management for the Web Parts page.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("SPFile.StorageManagementWebPartPageInformation is expensive; avoid using it.")]
public static DataTable StorageManagementWebPartPageInformation(
	SPSite spSite,
	Guid DocumentGuid,
	SPSite.StorageManagementSortedOn soVar,
	SPSite.StorageManagementSortOrder sordVar,
	uint nMaxResults
)

Parameters

spSite
Type: Microsoft.SharePoint.SPSite

An SPSite object that represents the site collection.

DocumentGuid
Type: System.Guid

A GUID that specifies the Web Parts 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.

sordVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortOrder

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

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: