RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerItem.ComputerName Property

Identifies the machine where the application server resides.

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

Set ComputerName to a string that identifies the machine where the application server resides. The value of this string depends on the type of connection component that requests this value from its object broker. 

If the connection component is a TDCOMConnection object, ComputerName is the Windows computer name. (This value can be found in the Control panel under network settings.) 

If the connection component is a TSocketConnection object, ComputerName is either the host name or IP address of the system running the application server. Socket connection components parse this string to determine which it is. 

If the connection component is a TWebConnection or TSoapConnection object, ComputerName is the URL of the dispatcher ( httpsrvr.dll or soapsrvr.dll ( running on the system with the application server. 

 

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