共用方式為


SPDiagnosticsService.DownloadErrorReportingUpdates Property

Gets or sets a Boolean value to indicate if crash data collection and error reporting updates are automatically downloaded.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property DownloadErrorReportingUpdates As Boolean
    Get
    Set
'Usage
Dim instance As SPDiagnosticsService
Dim value As Boolean

value = instance.DownloadErrorReportingUpdates

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

Property Value

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

Remarks

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

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

Microsoft.SharePoint.Administration Namespace