ReportingService2006.GetReportHistoryLimit(String, Boolean, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 fully qualified URL of the report including the file name and .rdl file name extension.
- 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
The table below shows header and permissions information on this operation.
**SOAP Headers** | (In) TrustedUserHeaderValue
(Out) ServerInfoHeaderValue |
Required Permissions | Microsoft.SharePoint.SPBasePermissions.ViewListItems |
An integer value that represents 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.