共用方式為


IDiagnosticsManager.Update method

NOTE: This API is now obsolete.

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

Syntax

'宣告
<ObsoleteAttribute("Use SPDiagnosticsServiceBase")> _
Sub Update
'用途
Dim instance As IDiagnosticsManager

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

備註

如果您變更追蹤或事件的嚴重性上類別,例如透過使用ResetItemResetAllSetAll方法,您必須仍呼叫Update方法將這些變更寫回 SharePoint Foundation。

請參閱

參照

IDiagnosticsManager interface

IDiagnosticsManager members

Microsoft.SharePoint.Administration namespace

其他資源

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example