ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / SNMP Protocol functions
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
SNMPCloseSession (Function)
In french: SNMPFermeSession
Closes an SNMP session.
Example
SessionID is int
// Start a session
SessionID = SNMPStartSession("TestDoc", "public")
IF SessionID = -1 THEN Error("Error while opening the session " + ErrorInfo())
...
SNMPCloseSession(SessionID)
Syntax
<Result> = SNMPCloseSession(<Identifier of SNMP session>)
<Result>: Boolean
  • True if the session was successfully closed,
  • False if an error occurred. ErrorInfo returns more information on the error.
<Identifier of SNMP session>: Integer
Identifier of the SNMP session to close. This identifier was returned by SNMPStartSession.
Remarks
When closing the application (or when closing the session of a dynamic site), the SNMP sessions that are still opened are automatically closed.
Component: wd290com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help