Orep_Rs_Application_Instance_Aging_Info_Set()

摘要

为 collection 设置老化信息,决定该 collection 在 Report Server 上的存续时长。

语法

Orep_Rs_Application_Instance_Aging_Info_Set (OrepT_Rs_Application_Instance *instance_ptr, OrepT_Rs_Time_Units units, int duration)

返回类型

PrgT_Compcode

操作成功时返回 PrgC_Compcode_Success,否则返回 PrgC_Compcode_Failure。

头文件

orep_report_server.h

详情

可以对不同的时间单位多次调用此函数。例如,要设置 1 天 5 小时的老化周期,调用此函数两次:

  1. 一次将 units 设为 OrepC_Rs_Time_Units_Days,duration 设为 1
  2. 一次将 units 设为 OrepC_Rs_Time_Units_Hours,duration 设为 5

**注意:**尽管 Report Server 支持 OrepT_Rs_Time_Units 指定的所有单位(从年到秒),但 Report Server 管理页面只能显示天、小时和分钟。大于天的时间间隔将按等效的天数显示。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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