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