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)
Available in Sandboxed Solutions: No
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 true.
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