共用方式為


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

  • DocumentGuid
    Type: System.Guid

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

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace