Switch to: V9V8V7V6V5

Valentina Class: Shutdown Methods

When your application finishes work it should shutdown Valentina components inited on its start. It is a good idea to call shutdown methods in the reverse order to the order of init calls.

Valentina.Shutdown()

Declaration:

Shutdown()	        

Description:

When you finish working with Valentina, you should shut it down. This method closes all open databases and destroys the cache.

Example:

Valentina.Init( 10 * 1024 * 1024, “” , “”  )
 
    ... // some work here
 
Valentina.Shutdown()

Valentina.ShutdownClient()

Declaration:

ShutdownClient()

Description:

Executes clean up and finalization of work in the client/server mode.

Example:

Valentina.InitClient( 10 * 1024 * 1024 )
 
    ... // some work here
 
Valentina.ShutdownClient()

Valentina.ShutdownReports()

Declaration:

ShutdownReports()

Description:

Executes clean up and finalization of work with VREPORT DLL.

Example:

Valentina.InitReports( )
 
    ... // some work here
 
Valentina.ShutdownReports()