9 58 DOM_CLOSE_DATABASE

LANSA Technical

9.58 DOM_CLOSE_DATABASE

Þ Note: Built-In Function Rules.

Closes a previously opened Domino/Notes Database on a local or remote Domino server. If the database resides on a remote server, the session to the server is also closed.

You  must use the DOM_CLOSE_DATABASE Built-In Function before exiting your application once the database has been previously opened.

For use with

LANSA for i

YES

Visual LANSA for Windows

YES

Visual LANSA for Linux

NO

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Database handle

4

4

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = Database successfully closed.

ER = Database not closed.

2

2

 

 

 

 

Examples

Refer to these Domino Built-In Function Examples:

Example 1: Creating a New Document in a Database

Example 2: Selecting documents from a Database using a view

Example 3: Executing an Agent in a Database

Example 4: Updating Documents selected from a Browselist

Technical Notes

This Built-In Function uses the standard Lotus Notes API NSFDbClose. All security and integrity issues related to the use of this Built-In Function are according to normal Lotus Notes API use for the current platform.