SPDiagnosticsService.ErrorReportingEnabled property

Gets or sets a Boolean value to indicate whether crash data collection and error reporting is enabled.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Property ErrorReportingEnabled As Boolean
Dim instance As SPDiagnosticsService
Dim value As Boolean

value = instance.ErrorReportingEnabled

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

Property value

Type: System.Boolean
true to enable crash data collection and error reporting; otherwise, false. The default value is false.


Crash data collection and error reporting provides Microsoft with feedback about problems that occur within a deployment.

The user interface for this feature can be found at _admin/Privacy.aspx

See also


SPDiagnosticsService class

SPDiagnosticsService members

Microsoft.SharePoint.Administration namespace