Datasnap.Win.MConnect.TOLEnterpriseConnection.ComputerName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ComputerName: string read FComputerName write SetComputerName;

C++

__property System::UnicodeString ComputerName = {read=FComputerName, write=SetComputerName};

Properties

Type Visibility Source Unit Parent
property published
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect TOLEnterpriseConnection

Description

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

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.

See Also