SPSite.StorageManagementInformation method
NOTE: This API is now obsolete.
傳回存放管理網站集合的相關資訊。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("SPSite.StorageManagementInformation is expensive; avoid using it.")> _
Public Function StorageManagementInformation ( _
ltVar As SPSite.StorageManagementInformationType, _
sordVar As SPSite.StorageManagementSortOrder, _
soVar As SPSite.StorageManagementSortedOn, _
nMaxResults As UInteger _
) As DataTable
'用途
Dim instance As SPSite
Dim ltVar As SPSite.StorageManagementInformationType
Dim sordVar As SPSite.StorageManagementSortOrder
Dim soVar As SPSite.StorageManagementSortedOn
Dim nMaxResults As UInteger
Dim returnValue As DataTable
returnValue = instance.StorageManagementInformation(ltVar, _
sordVar, soVar, nMaxResults)
[ObsoleteAttribute("SPSite.StorageManagementInformation is expensive; avoid using it.")]
public DataTable StorageManagementInformation(
SPSite.StorageManagementInformationType ltVar,
SPSite.StorageManagementSortOrder sordVar,
SPSite.StorageManagementSortedOn soVar,
uint nMaxResults
)
參數
ltVar
Type: Microsoft.SharePoint.SPSite.StorageManagementInformationTypeSPSite.StorageManagementInformationType值,指定要顯示的儲存體管理資料的種類。
sordVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortOrder在頁面指定項目排序的方向SPSite.StorageManagementSortOrder值。
soVar
Type: Microsoft.SharePoint.SPSite.StorageManagementSortedOn指定是否在頁面上的項目大小,或依日期排序的SPSite.StorageManagementSortedOn值。
nMaxResults
Type: System.UInt32不帶正負號的 32 位元整數,指定要傳回的結果數目上限。
傳回值
Type: System.Data.DataTable
包含儲存資訊的System.Data.DataTable物件