SPDiagnosticsService.LogMaxDiskSpaceUsageEnabled Property

Gets or sets a Boolean value that indicates whether to restrict the maximum amount of storage to use for logging.

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

Syntax

'Declaration
Public Property LogMaxDiskSpaceUsageEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPDiagnosticsService
Dim value As Boolean

value = instance.LogMaxDiskSpaceUsageEnabled

instance.LogMaxDiskSpaceUsageEnabled = value
public bool LogMaxDiskSpaceUsageEnabled { get; set; }

Property Value

Type: System.Boolean
true to restrict disk space usage; otherwise, false.

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

Microsoft.SharePoint.Administration Namespace