Click or drag to resize

IReportingServiceCreateSnapshot Method

Create a new snapshot report. Internally CreateHistory(IAppContext, Report, Object, String, SnapshotParameters) us used to command SSRS to create a history report. This method provides additional functionality to support multi-tenancy and other security measures. Once created, snapshot reports may be run via RunSnapshot(IAppContext, Int32).

Namespace:  NetQuarry.Reporting
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
string CreateSnapshot(
	IAppContext cxt,
	Report report,
	string snapshotName,
	SnapshotParameters snapshotParams,
	Object mapper
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
report
Type: NetQuarryReport
The report for which to create a snapshot.
snapshotName
Type: SystemString
The name for the new snapshot.
snapshotParams
Type: NetQuarry.ReportingSnapshotParameters
The parameter values for the new snapshot.
mapper
Type: SystemObject
The mapper associated with the report.

Return Value

Type: String
The snapshot ID (distinct from the history ID).
See Also