共用方式為


SPFile.StorageManagementWebPartPageInformation method

NOTE: This API is now obsolete.

傳回Web Parts page的存放裝置管理的相關資訊。

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

Syntax

'宣告
<ObsoleteAttribute("SPFile.StorageManagementWebPartPageInformation is expensive; avoid using it.")> _
Public Shared Function StorageManagementWebPartPageInformation ( _
    spSite As SPSite, _
    DocumentGuid As Guid, _
    soVar As SPSite.StorageManagementSortedOn, _
    sordVar As SPSite.StorageManagementSortOrder, _
    nMaxResults As UInteger _
) As DataTable
'用途
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.")]
public static DataTable StorageManagementWebPartPageInformation(
    SPSite spSite,
    Guid DocumentGuid,
    SPSite.StorageManagementSortedOn soVar,
    SPSite.StorageManagementSortOrder sordVar,
    uint nMaxResults
)

參數

  • DocumentGuid
    Type: System.Guid

    指定Web Parts page的 GUID。

  • nMaxResults
    Type: System.UInt32

    不帶正負號的 32 位元整數,指定要傳回的結果數目上限。

傳回值

Type: System.Data.DataTable
System.Data.DataTable物件,包含儲存資訊。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace