Share via


SPAdministrationWebApplication.HealthReports property

Gets an SPHealthReportsList object that represents the SharePoint Health Analyzer Health Reports list for the farm.

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

Syntax

'Declaration
Public ReadOnly Property HealthReports As SPHealthReportsList
    Get
'Usage
Dim instance As SPAdministrationWebApplication
Dim value As SPHealthReportsList

value = instance.HealthReports
public SPHealthReportsList HealthReports { get; }

Property value

Type: Microsoft.SharePoint.Administration.Health.SPHealthReportsList
The SharePoint Health Analyzer Health Reports list for the farm.

Remarks

The SPHealthReportsList object returned by this property uses unmanaged resources. You are responsible for releasing those resources. One way to do that is to call the Dispose() method when you no longer need the SPHealthReportsList object.

See also

Reference

SPAdministrationWebApplication class

SPAdministrationWebApplication members

Microsoft.SharePoint.Administration namespace

Local