Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TABSDatabase.MaxConnections
TABSDatabase
Top 


Sets or returns the MaxConnections used by the database in a multi-user mode.

property MaxConnections: Integer

Description
Set MaxConnections before database file creation to adjust the number of maximal users the database engine can handle simultaneously. Set MaxConnections so that it is high enough to avoid exceptions when the large number of users are connecting to the database, but low enough not to degrade performance too severely by checking too many simultaneous connections.
Examine MaxConnections at run-time when database is open to determine what is the maximum number of allowed simultaneous connections.
MaxConnections value must be in 1..2,147,483,647 range.

Note:   MaxConnections is specified before database file creation and the larger value causes the larger size of a database file.

Note:
   You can change MaxConnections for existsing database file using ChangeDatabaseSettings method.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Oct 07, 2024