RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDCOMConnection.ComputerName Property

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

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

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!