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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("SPFile.StorageManagementWebPartPageInformation is expensive; avoid using it.")> _
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Function StorageManagementWebPartPageInformation ( _
spSite As SPSite, _
DocumentGuid As Guid, _
soVar As SPSite.StorageManagementSortedOn, _
sordVar As SPSite.StorageManagementSortOrder, _
nMaxResults As UInteger _
) As DataTable
'Usage
Dim spSite As SPSite
Dim DocumentGuid As Guid
Dim soVar As SPSite.StorageManagementSortedOn
Dim sordVar As SPSite.StorageManagementSortOrder
Dim nMaxResults As UInteger
Dim returnValue As DataTable
returnValue = SPFile.StorageManagementWebPartPageInformation(spSite, _
DocumentGuid, soVar, sordVar, nMaxResults)
[ObsoleteAttribute("SPFile.StorageManagementWebPartPageInformation is expensive; avoid using it.")]
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static DataTable StorageManagementWebPartPageInformation(
SPSite spSite,
Guid DocumentGuid,
SPSite.StorageManagementSortedOn soVar,
SPSite.StorageManagementSortOrder sordVar,
uint nMaxResults
)
Parameters
spSite
Type: Microsoft.SharePoint.SPSiteAn SPSite object that represents the site collection.
DocumentGuid
Type: System.GuidA GUID that specifies the Web Parts page.
soVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortedOnAn SPSite.StorageManagementSortedOn value that specifies whether items on the page are sorted by size or by date.
sordVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortOrderAn SPSite.StorageManagementSortOrder value that specifies the direction in which items are sorted on the page.
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.