怎么使用GetComputerForProgID()?(100分)

  • 主题发起人 主题发起人 lion1
  • 开始时间 开始时间
L

lion1

Unregistered / Unconfirmed
GUEST, unregistred user!

我想知道这个函数GetComputerForProgID()的参数是什么意识?怎么用?
 
GetComputerForProgID()在哪?(which dll or unit)
 
在TSimpleObjectBroker中GetComputerForProgID()
怎么用,它的参数代表什么?
 
看帮助!
Returns a string that identifies an available server machine.
function GetComputerForProgID(const ProgID): string;
override;
Description
Call GetComputerForProgID to obtain the name of an available server machine. The
ProgID parameter (which specifies the desired server interface) is ignored.
TSimpleObjectBroker returns the ComputerName property of an available server from
the Servers property. If the LoadBalanced property is True, this server is chosen
at random from available servers. If the LoadBalanced property is False, this server
is the first available server listed in the Servers property. If no servers are
available, GetComputerForGUID raises an EBrokerException exception.
A server is considered available if its Enabled property is True and its HasFailed
property is False. The broker automatically sets HasFailed to False when it is
notified of a connection failure for that server.
 
后退
顶部