Share via


IDiagnosticsManager.ResetAll method

NOTE: This API is now obsolete.

Resets all trace log categories defined for the application to their default event and trace severities.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPDiagnosticsServiceBase")> _
Sub ResetAll
'Usage
Dim instance As IDiagnosticsManager

instance.ResetAll()
[ObsoleteAttribute("Use SPDiagnosticsServiceBase")]
void ResetAll()

See also

Reference

IDiagnosticsManager interface

IDiagnosticsManager members

Microsoft.SharePoint.Administration namespace

Other resources

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example