|
|
|
|
NotesCloseDatabase (Function) In french: NotesFermeBase Closes the local or remote database used (Lotus Notes or Domino). This database was opened by NotesOpenDatabase. Remark: This database will be automatically closed at the end of WINDEV program or WEBDEV session.
// Start the session SessionID is int SessionID = NotesOpenConnection("Password", "MarsServer", ... "C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id") // Open the database IF NotesOpenDatabase(SessionID, "email/julia.nsf") <> 0 THEN Info("Session started and database specified") ELSE Error(ErrorInfo()) END ... // Close the database NotesCloseDatabase(SessionID)
Syntax
<Result> = NotesCloseDatabase(<Session identifier>)
<Result>: Boolean - True if the Lotus Notes database was closed,
- False if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Character string Identifier of the session to use. This identifier is returned by NotesOpenConnection.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|