CoreAsp.ComSnmpResponse
- Last Updated: February 20, 2023
- 1 minute read
This object contains a response from an SNMP request. It is returned by
SnmpRqst
member functions:
Get
,
GetNext
,
GetMultiple
and
Set
.
|
Member |
Description |
|---|---|
|
GetOid |
Returns the OID of the polled object. This member cannot be used with operations that poll multiple objects, such as NoteText: This member is only useful when used with CoreAsp.SnmpRqst |
|
GetValue |
Returns the value of the polled object. This member can only be used with functions that poll a single object ( CoreAsp.SnmpRqst |
|
Failed |
If the request succeeded, returns NoteText: When polling multiple objects, |
|
GetErrorMsg |
If Failed returns true, this member returns the associated error message. |
|
GetPayload |
Returns XML data describing SNMP variable bindings (each containing OID, Type and Value). This XML data consists of a single You can use the Microsoft XML DOM object to access this information. For more information, see the Read multiple objects in one request example. |
ComSnmpResponse
object are methods. They have no arguments and should be called without using parenthesis.