共用方式為


UsageInfo.StoragePercentageUsed Property

Gets a value that specifies the ratio of the amount of disk space currently being used by the site collection to the maximum disk space specified in the site collection quota.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property StoragePercentageUsed As Double
    Get
'Usage
Dim instance As UsageInfo
Dim value As Double

value = instance.StoragePercentageUsed
[RemoteAttribute]
public double StoragePercentageUsed { get; }

Property Value

Type: System.Double
Double
The ratio of the amount of disk space currently being used by the site collection to the maximum disk space specified in the site collection quota. The server returns 0 if no maximum available storage is specified in the site collection quota. This value is equal to or greater than 0, and equal to or less than 1.

See Also

Reference

UsageInfo Class

UsageInfo Members

Microsoft.SharePoint.Client Namespace