ITAgent::get_MeasurementPeriod method (tapi3cc.h)
The get_MeasurementPeriod method gets the measurement period (in seconds) for which the switch and/or implementation stores and calculates information. For example, get_NumberOfACDCalls returns the number of calls the agent handled; get_MeasurementPeriod indicates if this value referenced the calls handled in the last hour, day, month, etc.
Syntax
HRESULT get_MeasurementPeriod(
[out] long *plPeriod
);
Parameters
[out] plPeriod
Measurement period.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The plPeriod parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
|
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3cc.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |