SPFarm.ErrorReportingEnabled property
NOTE: This API is now obsolete.
取得或設定 Boolean 值,指定是否要啟用執行損毀資料收集和錯誤報告伺服器陣列中的應用程式。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use SPDiagnosticsService.ErrorReportingEnabled")> _
Public Property ErrorReportingEnabled As Boolean
Get
Set
'用途
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否則,請false。預設值為true。
備註
當機資料收集及錯誤報告提供 Microsoft 意見反應部署內發生的問題。