Icon Open Method

procedure Open

Usage

Call the Open method to connect a session. The Open method connects the session, triggering the BeforeConnect event before connecting and the AfterConnect event after successfully connecting. If the SessionType property is set to stRemote, then ElevateDB will attempt to connect to the ElevateDB Server specified by the RemoteHost or RemoteAddressand RemotePort or RemoteService properties. If the session can successfully connect to the ElevateDB Server, it will then automatically login to the server using the LoginUser and LoginPasword properties.
Image