SPDiagnosticsService.LogDiskSpaceUsageGB Property

Gets or sets the maximum storage space to use for logs.

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

Syntax

'Declaration
Public Property LogDiskSpaceUsageGB As Integer
    Get
    Set
'Usage
Dim instance As SPDiagnosticsService
Dim value As Integer

value = instance.LogDiskSpaceUsageGB

instance.LogDiskSpaceUsageGB = value
public int LogDiskSpaceUsageGB { get; set; }

Property Value

Type: System.Int32
The number of GB to use.

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

Microsoft.SharePoint.Administration Namespace