The ArcSetSnmpTrapIp method updates trap ip addresses for SNMP notification.
|
virtual
ARC_STATUS ArcSetSnmpTrapIp( IN DWORD nItem, char *szIp ); |
[IN]
nItem:
|
Value |
Meaning |
|
0 |
Updates the SNMP Trap IP1 |
|
1 |
Updates the SNMP Trap IP2 |
|
2 |
Updates the SNMP Trap IP3 |
szIp: Null-terminated
character string representing a number expressed in the Internet standard
"."
(dotted) notation, format:
"xxx.xxx.xxx.xxx" ex: 192.168.001.100
This method returns the ARC_STATUS.
Password
required if password enabled, use ArcChkPassword
member function to validate the password.