共用方式為


SPDiagnosticsServiceBase.Update Method

Causes the SPDiagnosticsServiceBase object to save its state and propagate changes to all servers in the 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 SPDiagnosticsServiceBase

instance.Update()
public override void Update()

Remarks

Call this method immediately after changing the configuration of the service or setting diagnostic levels for a logging category. The method persists changes on the local server and propagates changes to the other servers in the farm.

See Also

Reference

SPDiagnosticsServiceBase Class

SPDiagnosticsServiceBase Members

Update Overload

Microsoft.SharePoint.Administration Namespace