16.01.2013 Views

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Ipswitch</strong> <strong>WhatsUp</strong> <strong>Gold</strong> <strong>User</strong> <strong>Guide</strong><br />

Note: The Set function will not work unless the MIB object and the community string for the<br />

device have the Read Write access right.<br />

CoreAsp.ComResult<br />

This object is returned by members of the SnmpRqst object or other objects to indicate the<br />

status of an operation.<br />

Member Description<br />

Failed Returns true if this object contains a failure and false if the object contains a<br />

success.<br />

GetErrorMsg If Failed is true, this member returns the associated error message.<br />

Note: All the members of the ComResult object are methods. They have no arguments and<br />

should be called without parenthesis.<br />

CoreAsp.ComSnmpResponse<br />

This object contains a response from an SNMP request. It is returned by SnmpRqst member<br />

functions: Get, GetNext, GetMultiple and Set.<br />

Member Description<br />

GetOid Returns the OID of the polled object. This member cannot be used with operations<br />

that poll multiple objects, such as SnmpRqst.GetMultiple.<br />

Note: This member is only useful when used with SnmpRqst.GetNext. It can<br />

be used with SnmpRqst.Get and SnmpRqst.Set, but it returns the same<br />

OID that you specified when calling those functions.<br />

GetValue Returns the value of the polled object. This member can only be used with functions<br />

that poll a single object (SnmpRqst.Get, SnmpRqst.GetNext and SnmpRqst.Set)<br />

Failed If the request succeeded, returns false. If the request failed, returns true.<br />

Note: When polling multiple objects, Failed returns true if even one error<br />

exists in the results returned by GetPayload.<br />

GetErrorMsg If Failed returns true, this member returns the associated error message.<br />

GetPayload Returns XML data describing SNMP variable bindings (each containing OID, Type<br />

and Value).<br />

This XML data consists of a single VarBindList node which contains one or many<br />

SnmpVarBind nodes.<br />

<br />

<br />

945

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!