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
)
參數
spSite
Type: Microsoft.SharePoint.SPSiteSPSite物件,表示網站集合。
DocumentGuid
Type: System.Guid指定Web Parts page的 GUID。
soVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortedOn指定是否在頁面上的項目大小,或依日期排序的SPSite.StorageManagementSortedOn值。
sordVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortOrder在頁面指定項目排序的方向SPSite.StorageManagementSortOrder值。
nMaxResults
Type: System.UInt32不帶正負號的 32 位元整數,指定要傳回的結果數目上限。
傳回值
Type: System.Data.DataTable
System.Data.DataTable物件,包含儲存資訊。