Datasnap.Win.MConnect.TDCOMConnection.ComputerName
Delphi
property ComputerName: string read FComputerName write SetComputerName stored IsComputerNameStored;
C++
__property System::UnicodeString ComputerName = {read=FComputerName, write=SetComputerName, stored=IsComputerNameStored};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Datasnap.Win.MConnect.pas Datasnap.Win.MConnect.hpp |
Datasnap.Win.MConnect | TDCOMConnection |
Description
Specifies the name of the machine on which the application server is located.
Set ComputerName to the machine name of the computer where the application server resides. If ComputerName is blank (the default), TDCOMConnection 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.
Normally the client and the application server run on different machines, so ComputerName must be set by the client application or available as part of the registry's DCOM configuration.