Compartilhar via


SPSite.StorageManagementInformation Method

NOTE: This API is now obsolete.

Returns information about storage management for the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<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
'Usage
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
)

Parameters

  • 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

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace