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

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