EnumRegisteredClusterNames

Returns an array containing the names of the clusters or application servers that have been registered for the client.

Syntax

<HsxClient>.EnumRegisteredClusterNames()

Return Value

Variant array. Returns the cluster names. The array is returned as a String subtype.

Example

This example shows how to add a client’s registered application servers to a combo box.

Dim vServs As Variant
'cClient is an HsxClient object reference
vServs = cClient.EnumRegisteredClusterNames
'Assign the array items to the combo box
For i = LBound(vServs) To UBound(vServs)
    'cmbServers is the comboBox
    cmbServers.AddItem vServs(i)
Next i