SetReportHistoryOptions Method
SQL Server 2000
ReportingService.SetReportHistoryOptions Method
Sets report history options that specify when a report history snapshot is created for a specified report.
Public Sub SetReportHistoryOption( _ ByVal Report As String _ ByVal EnableManualSnapshotCreation As Boolean _ ByVal KeepExecutionSnapshots As Boolean _ ByVal Item As [Namespace].ScheduleDefinitionOrReference _ ) Member of [Namespace].ReportingService
public void SetSnapshotSetting( string Report, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, [Namespace].ScheduleDefinitionOrReference Item ); Member of [Namespace].ReportingService
Parameters
- Report
- The full path name of the report.
- EnableManualSnapshotCreation
- Indicates whether report history snapshots can be created through the Web service method CreateReportHistorySnapshot. The default value is true.
- KeepExecutionSnapshots
- Indicates whether report execution snapshots are collected for report history. The default value is false.
- Item
- The schedule definition (ScheduleDefintion object) or shared schedule (ScheduleReference object) that represents the schedule information for the report history snapshot. If the report history snapshot is not created according to a schedule, pass a NoSchedule object for this parameter.
Permissions
| Operation | Description |
|---|---|
| Update Policy | Required to add or modify properties of a report history snapshot. |