ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / SNMP Protocol functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
SNMPOIDDescription (Function)
In french: SNMPOIDDescription
Returns the description of an OID.
Note This function can only be used after loading the MIB file (function SNMPLoadMIB), which describes the correspondence between OIDs in text and numerical format.
Example
MIBChargé is boolean
CheminMIBs is string = CompleteDir(fExeDir()) + "mibs\"
Mib is string
Mib = "RFC1382-MIB.mib" // MIB du protocole X25
MaDescription is string
MIBChargé = SNMPLoadMIB(CheminMIBs + Mib)
IF MIBChargé = False THEN 
	Error("Erreur MIB : " + ErrorInfo())
ELSE
	MaDescription = SNMPOIDDescription("
			dod.internet.mgmt.mib-2.
			transmission.x25.x25AdmnInterruptTimer
			")
END
Syntax
<Result> = SNMPOIDDescription(<OID to process>)
<Result>: Character string
Description of the OID. This description is stored in the MIB file.
<OID to process>: Character string
String containing the OID in text or numeric format.
Component: wd300com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help