SPFarm.ErrorReportingAutomaticUpload property

NOTE: This API is now obsolete.

Gets or sets a Boolean value that specifies whether to trigger automatic upload of 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.ErrorReportingAutomaticUpload")> _
Public Property ErrorReportingAutomaticUpload As Boolean
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As Boolean

value = instance.ErrorReportingAutomaticUpload

instance.ErrorReportingAutomaticUpload = value
[ObsoleteAttribute("Use SPDiagnosticsService.ErrorReportingAutomaticUpload")]
public bool ErrorReportingAutomaticUpload { get; set; }

Property value

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

Remarks

Setting the ErrorReportingAutomaticUpload property adds or deletes the trigger timer job for error reporting. Setting the property to true implies the existence of two timer jobs: an immediate job to enable error reporting, and a scheduled job to trigger the upload once a day.

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