Share via


IDiagnosticsManager.ResetItem method

NOTE: This API is now obsolete.

Resets the specified trace log category to its default event and trace severities.

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

Syntax

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

instance.ResetItem(item)
[ObsoleteAttribute("Use SPDiagnosticsServiceBase")]
void ResetItem(
    IDiagnosticsLevel item
)

Parameters

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