Share via


SPFarm.ErrorReportingEnabled property

NOTE: This API is now obsolete.

Gets or sets a Boolean value that specifies whether to enable an application that performs crash data collection and error reporting in the server farm.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPDiagnosticsService.ErrorReportingEnabled")> _
Public Property ErrorReportingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As Boolean

value = instance.ErrorReportingEnabled

instance.ErrorReportingEnabled = value
[ObsoleteAttribute("Use SPDiagnosticsService.ErrorReportingEnabled")]
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.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace