共用方式為


SPDiagnosticsService.LogMaxDiskSpaceUsageEnabled property

取得或設定 Boolean 值,指出是否要限制的用於記錄的儲存量上限。

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

Syntax

'宣告
Public Property LogMaxDiskSpaceUsageEnabled As Boolean
    Get
    Set
'用途
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否則,請false。

請參閱

參照

SPDiagnosticsService class

SPDiagnosticsService members

Microsoft.SharePoint.Administration namespace