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.

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:

  1. Once with units set to OrepC_Rs_Time_Units_Days and duration set to 1
  2. Once with units set to OrepC_Rs_Time_Units_Hours and duration set 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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com