RegisterCluster

Registers a cluster or application server for a client.

Syntax

<HsxClient>.RegisterCluster bstrServerToGetClusterInfo, vbUseAutomaticLoadBalancing, pbstrClusterName

Argument

Description

bstrServerToGetClusterInfo

String (ByVal). The machine name of the cluster or application server to be registered.

vbUseAutomaticLoadBalancing

Boolean (ByVal). Indicates whether automatic load balancing is used. Pass TRUE if load balancing is used, FALSE otherwise

pbstrClusterName

String. Returns the name of the registered cluster or application server.

Example

The following example registers an application server named ACME.

Dim sCluster As String
m_cHsxClient.RegisterCluster "ACME", False, sCluster