|
GetVarCount
int
GetVarCount (snmppdu
pdu)
Return
Value
Returns the number of variables in SNMP
PDU.
Parameters
pdu
–the SNMP
PDU.
Remarks
Call this
function to get the number of variables in SNMP PDU.
Example
snmpvar
var1 =
CreateVar("1.3.6.1.2.1.1.1.0")
snmppdu
pdu =
CreatePdu(var1)
Println("VarCount
= ",
GetVarCount(pdu))
The output of
the script:
VarCount = 1
|