Orep_Rs_Application_Instance_Aging_Info_Set()
Abstract
Sets the aging information for a collection, determining how long the collection will survive on the Report Server.
Syntax
Orep_Rs_Application_Instance_Aging_Info_Set (OrepT_Rs_Application_Instance *instance_ptr, OrepT_Rs_Time_Units units, int duration)
Return Type
PrgT_Compcode
PrgC_Compcode_Success if the operation was successful; PrgC_Compcode_Failure otherwise.
Header
orep_report_server.h
Details
This function can be called multiple times for different time units. For example, to set an aging period of 1 day and 5 hours, call this function twice:
- Once with
unitsset toOrepC_Rs_Time_Units_Daysanddurationset to 1 - Once with
unitsset toOrepC_Rs_Time_Units_Hoursanddurationset to 5
Note: Although Report Server handles all of the units specified by OrepT_Rs_Time_Units (years through seconds), the Report Server Admin page can display only days, hours, and minutes. Time intervals greater than days are displayed as an equivalent number of days.