Share via


SPSite.UsageInfo.Storage field

Contains the total amount of storage in bytes that is consumed by the site collection.

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

Syntax

'Declaration
Public Storage As Long
'Usage
Dim instance As SPSite.UsageInfo
Dim value As Long

value = instance.Storage

instance.Storage = value
public long Storage

Remarks

The data of the Storage field is used to enforce storage quotas.

See also

Reference

SPSite.UsageInfo structure

SPSite.UsageInfo members

Microsoft.SharePoint namespace