共用方式為


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

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