### CArclib::ArcSetSnmpTrapPort

The ArcSetSnmpTrapPort method updates SNMP trap port number for SNMP notification.

virtual ARC_STATUS ArcSetSnmpTrapPort( IN DWORD nItem, WORD port );

#### Parameters:

[IN]

nItem:

Value | Meaning
0 | Updates the SNMP Trap Port1
1 | Updates the SNMP Trap Port2
2 | Updates the SNMP Trap Port3

port: SNMP trap port number

#### Return Values

This method returns the ARC_STATUS.

#### Note:

Password required if password enabled, use ArcChkPassword member function to validate the password.