Active Property

Enables or disables sending and receiving of SNMP packets.

Object Oriented Interface

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

Procedural Interface

ipworkssnmp_snmpmgr_get($res, 2 );
ipworkssnmp_snmpmgr_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) 2021 /n software inc. - All rights reserved.
IPWorks SNMP 2020 PHP Edition - Version 20.0 [Build 7941]