objId (property)

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

Syntax

- (NSString*)objId:(int)objIndex;
- (void)setObjId:(int)objIndex:(NSString*)newObjId;
public func objId(objIndex: Int32) throws -> String
public func setObjId(objIndex: Int32, newObjId: String) throws -> Void

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.

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