Share via


ReportingService2005.CreateReportHistorySnapshot Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Generates a report history snapshot of a specified report.

Syntax

'Declaration
Public Function CreateReportHistorySnapshot ( _
    Report As String, _
     ByRef Warnings As Warning() _
) As String
public string CreateReportHistorySnapshot (
    string Report,
    out Warning[] Warnings
)
public:
String^ CreateReportHistorySnapshot (
    String^ Report, 
     array<Warning^>^% Warnings
)
public String CreateReportHistorySnapshot (
    String Report, 
    /** @attribute  */ /** @ref */ Warning[] Warnings
)
JScript does not support passing value-type arguments by reference.

Parameters

  • Report
    The full path name of the report.
  • Warnings
    [out] An array of Warning objects that lists warnings that occurred during report processing.

Return Value

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

Remarks

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

See Also

Reference

ReportingService2005 Class
ReportingService2005 Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace