RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOLEnterpriseConnection.ComputerName Property

Specifies the name of the machine on which the application server is located.

Pascal
property ComputerName: string;
C++
__property AnsiString ComputerName;

Use ComputerName to specify the machine where the application server resides if you are not using the Business Object Broker. If you are not using the Business Object Broker and ComputerName is blank (the default), TOLEnterpriseConnection assumes the application server can be found on the user's machine or that the computer name can be derived from the system registry based on the DCOM configuration. If ComputerName is not blank, it overrides any system registry entries. 

If you are using the Business Object Broker, use the BrokerName property instead. BrokerName and ComputerName are mutually exclusive: Setting the value of ComputerName changes the BrokerName property to blank, and vice versa. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!