共用方式為


SPUtility.DeveloperDashboardIsEnabled Property

Gets the developer dashboard enabled-status for the current request.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Shared ReadOnly Property DeveloperDashboardIsEnabled As Boolean
    Get
'Usage
Dim value As Boolean

value = SPUtility.DeveloperDashboardIsEnabled
public static bool DeveloperDashboardIsEnabled { get; }

Property Value

Type: System.Boolean
true if the developer dashboard is enabled; otherwise, false.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace