IDiagnosticsManager.SetAll method (TraceSeverity, EventSeverity)

NOTE: This API is now obsolete.

Sets all trace log categories defined for the application to the specified event and trace severities.

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

[ObsoleteAttribute("Use SPDiagnosticsServiceBase")]
void SetAll(
	TraceSeverity traceSeverity,
	EventSeverity eventSeverity
)

Parameters

traceSeverity
Type: Microsoft.SharePoint.Administration.TraceSeverity

The trace severity to assign to all the trace log categories defined for the application.

eventSeverity
Type: Microsoft.SharePoint.Administration.EventSeverity

The event severity to assign to all the trace log categories defined for the application.

Show: