ReportingService2005.GetReportHistoryLimit(String, Boolean, Int32) Method
Definition
返回指定报表的报表历史记录快照限制。Returns the report history snapshot limit for a specified report.
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
Parameters
- Report
- String
报表的完整路径名。The full path name of the report.
- IsSystem
- Boolean
一个Boolean
表达式,如果报表快照策略设置为与系统限制值相等,则该表达式返回 true
。A Boolean
expression that returns true
if the report snapshot policy is set equal to the system limit. 如果报表有自己的报表历史记录限值,则该参数返回 false
。The parameter returns false
if the report has its own report history limit.
- SystemLimit
- Int32
系统报表历史记录限值。The system report history limit.
Returns
一个表示给定报表的历史记录限值的integer
值。An integer
value representing the history limit for the given report. 值介于 -1 到 2,147,483,647 之间。Values can range from -1 to 2,147,483,647. 如果将此值设置为 –1,则保存所有报表历史记录快照。If the value is set to –1, all report history snapshots are saved.
Remarks
下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.
SOAP 标头SOAP Headers | (Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue |
所需的权限Required Permissions | ReadPolicy |