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)

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()