AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones del protocolo SNMP
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SNMPOIDToString (Function)
In french: SNMPOIDVersChaîne
Converts an OID from its numeric representation to its text representation.
Remark: This function cannot be used as long as the MIB file that describes the correspondence between the OIDs in text and numeric format has not been loaded (SNMPLoadMIB).
Example
bMIBLoaded is boolean
sPathMIBs is string = CompleteDir(fExeDir()) + "mibs\"
sMib is string
sMib = "RFC1382-MIB.mib" // MIB of X25 protocol
sOID is string
bMIBLoaded = SNMPLoadMIB(sPathMIBs + sMib)
IF bMIBLoaded = False THEN
Error("Error MIB: " + ErrorInfo())
ELSE
sOID = SNMPOIDToString("1.3.6.1.2.1.25.1.1.0")
END
Syntax
<Result> = SNMPOIDToString(<OID to convert>)
<Result>: Character string
  • String containing the value of the OID in text format,
  • Empty string ("") if an error occurred.
<OID to convert>: Character string
String containing the OID in numeric format to convert.
Component: wd290com.dll
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local