共用方式為


SPDeveloperDashboardSettings.TraceEnabled Property

Whether a link to display full verbose trace will be available at the bottom of the page when the developer dashboard is launched or not.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property TraceEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPDeveloperDashboardSettings
Dim value As Boolean

value = instance.TraceEnabled

instance.TraceEnabled = value
public bool TraceEnabled { get; set; }

Property Value

Type: System.Boolean
A Boolean value = true if link is available.

See Also

Reference

SPDeveloperDashboardSettings Class

SPDeveloperDashboardSettings Members

Microsoft.SharePoint.Administration Namespace