共用方式為


SPUsageService.UsageLogMaxSpaceGB Property

The maximum amount of space (measured in gigabytes) allowed for usage logs.

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

Syntax

'Declaration
Public ReadOnly Property UsageLogMaxSpaceGB As UInteger
    Get
'Usage
Dim instance As SPUsageService
Dim value As UInteger

value = instance.UsageLogMaxSpaceGB
public uint UsageLogMaxSpaceGB { get; }

Property Value

Type: System.UInt32
Returns UInt32.

Remarks

When this threshold is reached the oldest log(s) should be deleted until enough space is available.

See Also

Reference

SPUsageService Class

SPUsageService Members

Microsoft.SharePoint.Administration Namespace