IP*Works! S/SNMP V9 - Online Help
IP*Works! S/SNMP V9
Questions / Feedback?

ExactMatch Property

Controls the way the OID matching is done (complete or partial).

Syntax

[VB.NET]
Public Property ExactMatch As Boolean

[C#]
public bool ExactMatch {get; set;}

Remarks

If ExactMatch is set to True, the SelectNode method will try to find an exact match for the supplied selector. If not found, an exception will be thrown.

If ExactMatch is set to False, the SelectNode method will start from the root (iso) and will go as far as it can, finding the closest match for the requested node.

For instance, in SNMPv2-MIB sysUpTime is defined as "1.3.6.1.2.1.1.3". If ExactMatch is False, calling SelectNode with selector "1.3.6.1.2.1.1.3.0" will populate NodeLabel with "sysUpTime.0" while the same call with ExactMatch set to True will fail since that exact OID is not defined in the MIB.

Default Value

True

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0