Share via


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)

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