Cicode Programming Reference > Cicode Function Categories > Cluster Functions Introduction > ClusterServerTypes

ClusterServerTypes

This function allows the user to determine which servers are defined for a given cluster.

Syntax

ClusterServerTypes(ClusterName)

ClusterName:

The name of the cluster to query enclosed in quotation marks "".

Return Value

Logical OR of the following server flags:

For example, a return value of 14 indicates an IO Server, a Report Server, and a Trend Server are configured.

Related Functions

ClusterActivate, ClusterDeactivate, ClusterFirst, ClusterGetName, ClusterIsActive, ClusterNext, ClusterSetName, ClusterStatus, ClusterSwapActive, TaskCluster

See Also

Cluster Functions

About cluster context