次の方法で共有


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)

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