Active Property

Enables or disables sending and receiving of SNMP packets.

Object Oriented Interface

public function getActive();
public function setActive($value);

Procedural Interface

ipworkssnmp_snmpagent_get($res, 2 );
ipworkssnmp_snmpagent_set($res, 2, $value );

Default Value

false

Remarks

The Active property must be set to True before any SNMP requests or traps are sent or received.

Note: The class will automatically set this property to True if it is not already and you attempt to send a request or trap.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 PHP Edition - Version 20.0 [Build 8202]