Gets or sets AnyDAC manager active status.
Set Active to True to activate AnyDAC manager. After that the State = dmsActive. At activating, ADPhysManager loads driver definition file. When required set DriverDefFileAutoLoad and DriverDefFileName before activating manager. TADCustomConnection automatically activates manager before a first connection.
Set Active to False to terminate AnyDAC manager. After that the State = dmsInactive. At terminating, manager:
Note, to change any driver settings, manager may be active or inactive, but there must be no connections through this driver.
A multi-threading application should activate AnyDAC manager before threads, which are connecting to a DB, will start.
property Active: Boolean;
What do you think about this topic? Send feedback!