Umra.Connect
long Connect([in] BSTR Host, [in] long PortNumber)
Argument
|
Type
|
Description
|
Host
|
in
|
The name of the host that runs the UMRA Service to which the COM object must connect. The name can be specified as DNS or NETBIOS name.
|
PortNumber
|
in
|
The port of host running the UMRA Service. The default port is 56814.
|
The interface method connects to an UMRA Service. The name of the computer running the UMRA Service and the port number must be specified. Normally, this is the first method called when the UMRA COM object is created.
When the connection is established, the connection parameters are stored within the object. The COM object can be connected to only one UMRA Service at one time. The return value should be zero on success. If the return value is not zero, the COM object is not connected to the UMRA Service.
|