Icon RemoteService Property

property RemoteService: String


Use the RemoteService property to specify the service name of a database server that you wish to connect to. A service name is an alternate way of specifying a remote port using a standard name instead of a port number. This property only applies to remote sessions where the SessionType property is set to stRemote. When the session is opened via the Open method or by setting the Active property to True, DBISAM will attempt to connect to the database server specified by the RemoteAddress or RemoteHost and RemotePort or RemoteService properties.

Information A database server listens on two different ports, one for normal data connections and one for administrative connections. Be sure to set the correct service name using this property that translates to the correct port on the database server or you will get errors when trying to execute administrative functions on the normal data port or vice-versa. This is especially important since the administrative port requires encrypted connections (RemoteEncryption=True).