Partilhar 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)
Available in Sandboxed Solutions: No

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