AccpacSession.Close
Closes the session and releases all resources allocated to the session.
Sub Close()
Remarks
When a session is closed, the user is signed off from the company, and all connections to the company database are closed. All objects that are created from this session object become invalid and should not be accessed again.
The session closes automatically when the AccpacSession object is destroyed.