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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub EnableDiagnosticMode
'Usage
Dim instance As SPDeveloperDashboardSettings

instance.EnableDiagnosticMode()
public void EnableDiagnosticMode()

See Also

Reference

SPDeveloperDashboardSettings Class

SPDeveloperDashboardSettings Members

Microsoft.SharePoint.Administration Namespace