Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 640
Chapter 9      Agent Object
Methods
9-50
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
COM:
HRESULT StopMonitoringAgent (/*[in]*/ IArguments * args, 
/*[out,retval]*/ int * errorcode)
VB:
StopMonitoringAgent (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int StopMonitoringAgent(Arguments args)
.NET:
CilError StopMonitoringAgent(Arguments args)
Parameters
args
Arguments array that contains the constant CTIOS_AGENTREFERENCE set 
to the string value of the UniqueObjectID of the agent to stop monitoring.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Value
Default CTI OS return values. See 
Remarks
This request is specific to the Supervisor feature and should only be used on 
switches or configurations that have the necessary support (currently, Cisco IPCC 
only).
StopMonitoringAgentTeam
The StopMonitoringAgentTeam method allows the client, which must be a 
supervisor, to stop monitoring all the agents on all the supervisor’s teams.
Syntax 
C++:
int StopMonitoringAgentTeam (Arguments& args)
COM:
HRESULT StopMonitoringAgentTeam (/*[in]*/ IArguments args, 
/*[out,retval]*/ int * errorcode)
VB:
StopMonitoringAgentTeam (args as CTIOSCLIENTLib.IArguments) As 
Long