Set
bool Set(string sOID,string sData,int iSyntax)
Return values
Non zero if the function is successful; otherwise 0.
Parameters
- sOID - OID to use in set operation.
- sData - Textual data used in set operation.
- iSyntax - Specifies the format of the sData parameter. Can be one of the following constants.
- SNMP_NOSYNTAX
- SNMP_IPADDRESS
- SNMP_INTEGER
- SNMP_UNSIGNED32
- SNMP_COUNTER32
- SNMP_GAUGE32
- SNMP_TIMETICKS
- SNMP_OPAQUE
- SNMP_OCTETSTRING