SPDiagnosticsService.EventLogFloodProtectionEnabled Property
Gets or sets a Boolean value to indicate whether Event Log Flood Protection is enabled.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property EventLogFloodProtectionEnabled As Boolean
Get
Set
'Usage
Dim instance As SPDiagnosticsService
Dim value As Boolean
value = instance.EventLogFloodProtectionEnabled
instance.EventLogFloodProtectionEnabled = value
public bool EventLogFloodProtectionEnabled { get; set; }
Property Value
Type: System.Boolean
true to enable Event Log Flood Protection; otherwise, false. The default value is true.
Remarks
This feature prevents the flooding of the event log. When too many duplicate events are written to the event log, the duplicates can be suppressed and aggregated. The user interface for this feature can be found in _admin/metrics.aspx.