Share via


SPHealthReportStore.RemoveHealthReport method

Removes a report.

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

Syntax

'Declaration
Public Sub RemoveHealthReport ( _
    name As String _
)
'Usage
Dim instance As SPHealthReportStore
Dim name As String

instance.RemoveHealthReport(name)
public void RemoveHealthReport(
    string name
)

Parameters

Remarks

Built-in reports cannot be removed. Calling this method with the name of a built-in report throws an exception of type ArgumentException.

See also

Reference

SPHealthReportStore class

SPHealthReportStore members

Microsoft.SharePoint.Administration namespace