[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

closes this IObjectContainer.

Namespace: Db4objects.Db4o
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Function Close As Boolean
C#
bool Close ()
Visual C++
bool Close ()

Return Value

success - true denotes that the last used instance of this container and the database file were closed.

Remarks

closes this IObjectContainer.

A call to Close() automatically performs a Commit() .

Note that every session opened with Db4o.OpenFile() requires one Close()call, even if the same filename was used multiple times.

Use
 Copy imageCopy Code
while(!Close()){}
to kill all sessions using this container.