Share via


IDiagnosticsManager.Update method

NOTE: This API is now obsolete.

Updates SharePoint Foundation with any changes made to the trace log categories.

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

Syntax

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

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

Remarks

If you change the trace or event severities on categories, such as through using the ResetItem, ResetAll, or SetAll method, you must still call the Update method to write those changes back to SharePoint Foundation.

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