SNMPVersion Property
Version of SNMP used for outgoing requests (traps).
Syntax
ANSI (Cross Platform) int GetSNMPVersion();
int SetSNMPVersion(int iSNMPVersion); Unicode (Windows) INT GetSNMPVersion();
INT SetSNMPVersion(INT iSNMPVersion);
Possible Values
SNMPVER_V1(1),
SNMPVER_V2C(2),
SNMPVER_V3(3)
@property (nonatomic,readwrite,assign,getter=SNMPVersion,setter=setSNMPVersion:) int SNMPVersion; - (int)SNMPVersion; - (void)setSNMPVersion:(int)newSNMPVersion;
Possible Values
SNMPVER_V1(1),
SNMPVER_V2C(2),
SNMPVER_V3(3)
#define PID_SNMPTCPAGENT_SNMPVERSION 12 IPWORKSSNMP_EXTERNAL void* IPWORKSSNMP_CALL IPWorksSNMP_SNMPTCPAgent_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSNMP_EXTERNAL int IPWORKSSNMP_CALL IPWorksSNMP_SNMPTCPAgent_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
2
Remarks
This property takes one of the following values:
snmpverV1 (1) | SNMP Version 1. |
snmpverV2c (2) | SNMP Version 2c. |
snmpverV3 (3) | SNMP Version 3. |
Data Type
Integer