SPCriticalTraceCounter.IsEnabled Property

If this value is true traces will be collected and shown in the dashboard.

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 IsEnabled As Boolean
    Get
'Usage
Dim value As Boolean

value = SPCriticalTraceCounter.IsEnabled
public static bool IsEnabled { get; }

Property Value

Type: System.Boolean
A Boolean indicating whether this trace counter is enabled or not..

See Also

Reference

SPCriticalTraceCounter Class

SPCriticalTraceCounter Members

Microsoft.SharePoint.Utilities Namespace