Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The put_MeasurementPeriod method sets the period (in seconds) for which the switch and/or implementation stores and calculates information.
Syntax
HRESULT put_MeasurementPeriod(
[in] long lPeriod
);
Parameters
[in] lPeriod
Measurement period (in seconds).
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Method succeeded. |
|
Value of lPeriod is zero. |
|
Insufficient memory exists to perform the operation. |
|
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes. |
|
See lineSetQueueMeasurementPeriod for error codes returned from this TAPI 2.1 function. |
Remarks
The ITQueue::put_MeasurementPeriod method is a COM wrapper for the TAPI 2.1 lineSetQueueMeasurementPeriod function.
This method will accept negative values for the measurement period, but this will normally result in unreliable statistics.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | tapi3.h (include Tapi3.h) |
| Library | Uuid.lib |
| DLL | Tapi3.dll |