remoteServerName

Type: String[256]

The remoteServerName property of the ActiveXAutomation class contains the name of the machine on which the ActiveX automation object is executed.

The ActiveX automation object must be a Distributed Component Object Model (DCOM) server. DCOM is included as part of all supported Windows operating systems.

You can specify any Universal Naming Convention (UNC) or Domain Name Service (DNS) name (for example, "\\server", "jadeworld.com", or "123.4.56.78").

You can use the remoteServerName property in conjunction with the usePresentationClient property. The usePresentationClient property tells JADE to interface with the Component Object Model (COM) on the presentation client and the remoteServerName property tells COM the machine on which the ActiveX object is to run (which can be a machine other than one on which JADE is running). You could therefore have the jadrap, jadapp, and jade executable programs and the automation server all running on different machines.

You cannot set the remoteServerName property and then call the attachAutomationObject method to attach to an instance of the automation server that is already running, as you can attach only to local servers.

If you specify an invalid remote server name, an exception is raised when COM attempts to create the object when the createAutomationObject method is called.