SPDiagnosticsCategory.ResetToDefaults Method
Resets the EventSeverity and TraceSeverity back to their default values.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function ResetToDefaults As Boolean
'Usage
Dim instance As SPDiagnosticsCategory
Dim returnValue As Boolean
returnValue = instance.ResetToDefaults()
public bool ResetToDefaults()
Return Value
Type: System.Boolean
true if EventSeverity or TraceSeverity changed; otherwise, false.