Icon GetServerConfig Method

procedure GetServerConfig(var DenyLogins: Boolean; var
      MaxConnections: Word; var ConnectTimeout: Word; var
      DeadSessionInterval: Word; var DeadSessionExpires: Word; var
      MaxDeadSessions: Word; var TempDirectory: String;
      AuthorizedAddresses: TStrings; BlockedAddresses: TStrings)

Usage

Call the GetServerConfig method to retrieve the current configuration settings for a database server. Please see the ModifyServerConfig method for more information on the parameters returned from this method.

Information This method is only valid when the engine is running as a database server and the EngineType is set to etServer. Also, if the maximum number of connections returned via this method is lower than what was attempted to be configured via the ModifyServerConfig method, the ServerLicensedConnections property has caused it to be lowered.
Image