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

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