SPDeveloperDashboardSettings.DisableDiagnosticMode method
Disabling diagnostic mode is defined by setting the [this.DisplayLevel] to SPPerformanceMonitoringLevel.Off, [this.RequiredPermissions] to SPBasePermissions.AddAndCustomizePages, and [this.TraceEnabled] to false.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub DisableDiagnosticMode
'Usage
Dim instance As SPDeveloperDashboardSettings
instance.DisableDiagnosticMode()
public void DisableDiagnosticMode()
See also
Reference
SPDeveloperDashboardSettings class