共用方式為


SPDiagnosticsService.ResetItem Method (Int32)

NOTE: This API is now obsolete.

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
<ObsoleteAttribute("directly modify severities on SPDiagnosticsCategory")> _
Public Sub ResetItem ( _
    key As Integer _
)
'Usage
Dim instance As SPDiagnosticsService
Dim key As Integer

instance.ResetItem(key)
[ObsoleteAttribute("directly modify severities on SPDiagnosticsCategory")]
public void ResetItem(
    int key
)

Parameters

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

ResetItem Overload

Microsoft.SharePoint.Administration Namespace