共用方式為


SPDiagnosticsServiceBase.ResetAll Method

Resets reporting thresholds for all categories to their diagnostic logging thresholds.

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

Syntax

'Declaration
Public Sub ResetAll
'Usage
Dim instance As SPDiagnosticsServiceBase

instance.ResetAll()
public void ResetAll()

Remarks

After calling this method, you must call the Update() method to save the changes in the SharePoint configuration database.

See Also

Reference

SPDiagnosticsServiceBase Class

SPDiagnosticsServiceBase Members

Microsoft.SharePoint.Administration Namespace

SetAll()