Cicode Programming Reference > Cicode Function Categories > Cluster Functions > ClusterGetName

ClusterGetName

ClusterGetName is deprecated in this version of Citect SCADA.

Syntax

ClusterGetName(sPrimary, sStandby, nMode)

sPrimary:

The name of the cluster's primary server (that is that which was set as sPrimary using the ClusterSetName() function). Must be a String type variable.

sStandby:

The name of the cluster's standby server (that is that which was set as sStandby using the ClusterSetName() function). Must be a String type variable.

nMode:

The mode is for future expansion of the function - set to 0 (zero).

Return Value

The status of the get name.

Related Functions

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

Example

// Return and display the server names.//
ClusterGetName(sPrimary, sStandby, 0);
Prompt("Name of Cluster" + sPrimary);

See Also

Cluster Functions

Published June 2018