Partilhar via


SPDiagnosticsService.Update Method

Causes the SPDiagnosticsService object to save its state and propagate changes to all servers in the server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub Update
'Usage
Dim instance As SPDiagnosticsService

instance.Update()
public override void Update()

Implements

IDiagnosticsManager.Update()

Remarks

Call this method immediately after changing the configuration of the service or setting reporting levels for a logging category. The method persists changes in the registry of the local server and creates a timer job to update other servers in the server farm.

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

Update Overload

Microsoft.SharePoint.Administration Namespace

CreateTimerJob()