Click or drag to resize

IReportingServiceDeleteHistory Method

Delete the specified SSRS history report. Note that if SSRS throws a ReportHistoryNotFoundException exception, that exception is caught and not propagated, and false is returned.

Namespace:  NetQuarry.Reporting
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
bool DeleteHistory(
	string reportName,
	string historyID
)

Parameters

reportName
Type: SystemString
The name of the SSRS report.
historyID
Type: SystemString
The ID of the history report as generated by SSRS. The ID has the form of a timestamp, e.g. "2012-07-11T02:47:03".

Return Value

Type: Boolean
True if the report was deleted or was not found, else false.
See Also