ObjId Property

The current object's id which is encoded as a string of numbers separated by periods.

Object Oriented Interface

public function getObjId($objindex);
public function setObjId($objindex, $value);

Procedural Interface

ipworkssnmp_snmpmgr_get($res, 16 , $objindex);
ipworkssnmp_snmpmgr_set($res, 16, $value , $objindex);

Default Value

''

Remarks

The current object's id which is encoded as a string of numbers separated by periods. For instance: "1.3.6.1.2.1.1.1.0" (OID for "system description").

The corresponding object type and value (if any) are specified by the ObjectType and ObjValue properties.

Example


SNMPControl.ObjCount = 1
SNMPControl.ObjId(0) = "1.3.6.1.2.1.1.1.0"

The $objindex parameter specifies the index of the item in the array. The size of the array is controlled by the ObjCount property.

This property is not available at design time.

Data Type

String

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