Switch to: V12V11V10V9V8V7V6V5

VServer Class: Connection Methods

VServer.CancelConnection()

Declaration:

CancelConnection( inConnectionID as Integer )

Parameters:

  • inConnectionID - The connection ID.

Description:

Cancels an existing connection by its ID.

Example:

server.CancelConnection( connID )

VServer.Restart()

Declaration:

Restart()

Description:

Forces a restart of the VServer.

Example:

server.Restart()

VServer.Refresh()

Declaration:

Refresh()

Description:

This method allows you to refresh the list of DatabaseInfo objects. This method sends a request to the Valentina Server.

Example:

server.Refresh()	

VServer.Shutdown()

Declaration:

Shutdown()

Description:

Shuts down the VServer.

Note: After this operation there is no way to restart VServer from the application. If you want to restart the VServer, use Restart().

Example:

server.Shutdown()