SPHealthReportStore.RemoveHealthReport Method
Removes a report.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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
name
Type: System.StringThe name of the report to remove.
Remarks
Built-in reports cannot be removed. Calling this method with the name of a built-in report throws an exception of type ArgumentException.