ReportingService2006.SetReportHistoryOptions Method

Definition

Sets report history options that specify when a report history snapshot is created for a specified report.

public:
 void SetReportHistoryOptions(System::String ^ Report, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2006::ScheduleDefinitionOrReference ^ Item);
public void SetReportHistoryOptions (string Report, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2006.ScheduleDefinitionOrReference Item);
member this.SetReportHistoryOptions : string * bool * bool * ReportService2006.ScheduleDefinitionOrReference -> unit
Public Sub SetReportHistoryOptions (Report As String, EnableManualSnapshotCreation As Boolean, KeepExecutionSnapshots As Boolean, Item As ScheduleDefinitionOrReference)

Parameters

Report
String

The fully qualified URL of the report including the file name and .rdl file name extension.

EnableManualSnapshotCreation
Boolean

Indicates whether report history snapshots can be created through the Web service CreateReportHistorySnapshot(String, Warning[]) method. The default value is true.

KeepExecutionSnapshots
Boolean

Indicates whether report execution snapshots are collected for report history. The default value is false.

Item
ScheduleDefinitionOrReference

The ScheduleDefinition or 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.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

Applies to