ReportingService2006.GetReportHistoryLimit(String, Boolean, Int32) 方法

定义

返回指定报表的报表历史记录快照限制。

public:
 int GetReportHistoryLimit(System::String ^ Report, [Runtime::InteropServices::Out] bool % IsSystem, [Runtime::InteropServices::Out] int % SystemLimit);
public int GetReportHistoryLimit (string Report, out bool IsSystem, out int SystemLimit);
member this.GetReportHistoryLimit : string * bool * int -> int
Public Function GetReportHistoryLimit (Report As String, ByRef IsSystem As Boolean, ByRef SystemLimit As Integer) As Integer

参数

Report
String

报表的完全限定 URL,其中包括文件名和 .rdl 文件扩展名。

IsSystem
Boolean

一个Boolean表达式,如果报表快照策略设置为与系统限制值相等,则该表达式返回 true。 如果报表有自己的报表历史记录限值,则该参数返回 false

SystemLimit
Int32

系统报表历史记录限值。

返回

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

SOAP 标头 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

所需的权限 Microsoft.SharePoint.SPBasePermissions.ViewListItems

一个表示给定报表的历史记录限制的整数值。 值介于 -1 到 2,147,483,647 之间。 如果将此值设置为 –1,则保存所有报表历史记录快照。

适用于