ReportingService2006.SetReportHistoryOptions(String, Boolean, Boolean, ScheduleDefinitionOrReference) ReportingService2006.SetReportHistoryOptions(String, Boolean, Boolean, ScheduleDefinitionOrReference) ReportingService2006.SetReportHistoryOptions(String, Boolean, Boolean, ScheduleDefinitionOrReference) Method

定义

设置报表历史记录选项,这些选项指定何时为指定的报表创建报表历史记录快照。 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);
Public Sub SetReportHistoryOptions (Report As String, EnableManualSnapshotCreation As Boolean, KeepExecutionSnapshots As Boolean, Item As ScheduleDefinitionOrReference)

参数

Report
String String String

报表的完全限定 URL,其中包括文件名和 .rdl 文件扩展名。 The fully qualified URL of the report including the file name and .rdl file name extension.

EnableManualSnapshotCreation
Boolean Boolean Boolean

指示是否可以通过 Web 服务 CreateReportHistorySnapshot(String, Warning[]) 方法创建报表历史记录快照。 Indicates whether report history snapshots can be created through the Web service CreateReportHistorySnapshot(String, Warning[]) method. 默认值是 true The default value is true.

KeepExecutionSnapshots
Boolean Boolean Boolean

指示是否为报表历史记录收集报表执行快照。 Indicates whether report execution snapshots are collected for report history. 默认值是 false The default value is false.

Item
ScheduleDefinitionOrReference ScheduleDefinitionOrReference ScheduleDefinitionOrReference

表示报表历史记录快照的计划信息的 ScheduleDefinitionScheduleReference 对象。 The ScheduleDefinition or ScheduleReference object that represents the schedule information for the report history snapshot. 如果没有按照计划创建报表历史记录快照,则传递NoSchedule为此参数的对象。 If the report history snapshot is not created according to a schedule, pass a NoSchedule object for this parameter.

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头SOAP Headers (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
所需的权限Required Permissions EditListItems

适用于