Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ReportingService2005.CreateReportHistorySnapshot Method

Generates a report history snapshot of a specified report.

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)
public string CreateReportHistorySnapshot(
	string Report,
	out Warning[] Warnings
)

Parameters

Report
Type: System.String
The fully qualified URL of the report.
Warnings
Type: ReportService2005.Warning[]
[out] An array of Warning objects that lists warnings that occurred during report processing.

Return Value

Type: System.String
A String that represents the date and time stamp of the snapshot. This string is used as a unique identifier for the historical snapshot.

The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

CreateSnapshot AND Execute

For the snapshot to be generated successfully, report history must be enabled for the report. To enable report history for a report, use the SetReportHistoryOptions method. For more information about report history, see Managing Report History.

If the report contains subreports, query result sets from the subreports are persisted in the report history snapshot. Report parameters that are passed to the report at the time the report is executed are also persisted.

Snapshots are created by the CreateReportHistorySnapshot method with default report parameters only. If you need to create report history snapshots with different parameter profiles, then use linked reports with CreateReportHistorySnapshot.

The length of the Report parameter cannot exceed 260 characters; otherwise, a SOAP exception is thrown with the error code rsItemLengthExceeded.

The Report parameter cannot be null or empty or contain the following reserved characters: : ? ; @ & = + $ , \ * > < | . ". You can use the forward slash character (/) to separate items in the full path name of the folder, but you cannot use it at the end of the folder name.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.