ReportingService2006.GetReportHistoryOptions 方法

定义

返回为报表生成的报表历史记录快照选项和属性。

public:
 bool GetReportHistoryOptions(System::String ^ Report, [Runtime::InteropServices::Out] bool % KeepExecutionSnapshots, [Runtime::InteropServices::Out] ReportService2006::ScheduleDefinitionOrReference ^ % Item);
public bool GetReportHistoryOptions (string Report, out bool KeepExecutionSnapshots, out ReportService2006.ScheduleDefinitionOrReference Item);
member this.GetReportHistoryOptions : string * bool * ScheduleDefinitionOrReference -> bool
Public Function GetReportHistoryOptions (Report As String, ByRef KeepExecutionSnapshots As Boolean, ByRef Item As ScheduleDefinitionOrReference) As Boolean

参数

Report
String

报表的完整路径名。

KeepExecutionSnapshots
Boolean

[out] 一个Boolean表达式,该表达式指示是否为报表历史记录收集报表执行快照。 默认值为 false

Item
ScheduleDefinitionOrReference

[out] 一个 ScheduleDefinitionOrReference 对象,该对象表示 ScheduleDefinition 对象、ScheduleReference 对象或 NoSchedule 对象。

返回

如果为报表收集报表历史记录,则为 true;否则为 false

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
所需的权限 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

适用于