Share via


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)

Syntax

'Declaration
Public Property ErrorReportingEnabled As Boolean
    Get
    Set
'Usage
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.

Remarks

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

Reference

SPDiagnosticsService class

SPDiagnosticsService members

Microsoft.SharePoint.Administration namespace