Destroy this SessionFactory and release all resources connection pools, etc). It is the responsibility of the application to ensure that there are no open Sessions before calling close().

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Sub Close
C#
void Close()
Visual C++
void Close()
JavaScript
function close();

See Also