CoreAsp.ComSnmpResponse
- Last Updated: August 28, 2024
- 1 minute read
- WhatsUp Gold
- Version 2026
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 注意文字: 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 注意文字: 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.