|
|
|
|
SNMPCloseSession (Function) In french: SNMPFermeSession Closes an SNMP session. 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|