共用方式為


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

A Boolean expression that returns true if the report snapshot policy is set equal to the system limit. The parameter returns false if the report has its own report history limit.

SystemLimit
Int32

The system report history limit.

Returns

An integer value representing the history limit for the given report. Values can range from -1 to 2,147,483,647. 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 Headers (Out) ServerInfoHeaderValue
Required Permissions ReadPolicy

Applies to