Icon Active Property

property Active: Boolean

Usage

Use the Active property to specify whether or not the engine is active. Setting Active to True starts the engine.

If the EngineType property is set to etServer, then DBISAM will attempt to start the engine as a database server using the:

   ServerConfigFileName
   ServerConfigPassword
   ServerName
   ServerDescription
   ServerEncryptedOnly
   ServerEncryptionPassword
   ServerMainAddress
   ServerMainPort
   ServerMainThreadCacheSize
   ServerAdminAddress
   ServerAdminPort
   ServerAdminThreadCacheSize

properties. Also, the OnServerStart event will be triggered.

If the EngineType property is set to etClient (the default), then DBISAM will simply start the engine.

Setting Active to False closes any open datasets, disconnects active database connections, and stops all active sessions.
Image