Datasnap.Win.ObjBrkr.TServerItem.ComputerName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Datasnap.Win.ObjBrkr.pas
Datasnap.Win.ObjBrkr.hpp
Unit: Datasnap.Win.ObjBrkr
Parent: TServerItem

Delphi

property ComputerName: string read FComputerName write FComputerName;

C++

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

Description

Identifies the machine where the application server resides.

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.

See Also