|
|
|
|
|
NotesOpenDatabase (Function) In french: NotesOuvreBase Gives access to the documents managed by Lotus Notes. // Open the connection SessionID is int SessionID = NotesOpenConnection("Password", "MarsServer", ... "C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id") ... // Specify the Lotus Notes database to use IF NotesOpenDatabase(SessionID, "email/julia.nsf") <> 0 THEN Info("Session started and database specified") ELSE Error(ErrorInfo()) END ... // Close the database NotesCloseDatabase(SessionID) // Close the connection CloseSession(SessionID)
Syntax
<Result> = NotesOpenDatabase(<Session identifier> , <Lotus Notes database>)
<Result>: Integer - Identifier of the opened session.
- 0 if an error occurs (or False). To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Character string Identifier of the session to start. This identifier is returned by NotesOpenConnection. <Lotus Notes database>: Character string Name of the Lotus Notes database containing the emails of the user. This name corresponds to the path of ".NSF" file.A relative path must be used if the Lotus Notes database is found on a Domino server. Remarks The access to Lotus Notes is available for Lotus Notes version 6.5 or later.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|