请注意:此 API 现在已过时。
Returns information about storage management for the site collection.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<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
类型:Microsoft.SharePoint.SPSite.StorageManagementInformationTypeAn SPSite.StorageManagementInformationType value that specifies the kind of storage management data to display.
sordVar
类型:Microsoft.SharePoint.SPSite.StorageManagementSortOrderAn SPSite.StorageManagementSortOrder value that specifies the direction in which items are sorted on the page.
soVar
类型:Microsoft.SharePoint.SPSite.StorageManagementSortedOnAn SPSite.StorageManagementSortedOn value that specifies whether items on the page are sorted by size or by date.
nMaxResults
类型:System.UInt32An unsigned 32-bit integer that specifies the maximum number of results to return.
返回值
类型:System.Data.DataTable
A System.Data.DataTable object that contains the storage information