Icon OnServerConnect Event

property OnServerConnect: TServerConnectEvent


The OnServerConnect event is fired when the EngineType property is set to etServer and the database server has accepted a connection from a remote session. The UserData variable parameter allows the association of a user-defined object, such as a TListItem object in a TListView component, with the session until it is removed on the database server.