Muokkaa

Jaa


Iasphelp::get_IsCluster method

The IsCluster property enables an ASP Web page to determine whether the Cluster service is running on a cluster node.

Syntax

HRESULT get_IsCluster(
  [out] BOOL *pVal
);

Parameters

pVal [out]
A caller-supplied pointer to a memory location that receives TRUE if the Cluster service is installed, configured, and running on the node, and FALSE otherwise.

Return value

This property always returns S_OK.

VBScript Example

This method calls the GetNodeClusterState function to determine the status of the Cluster service.

Dim objPrinter, ClusterRunning
strPrinter = Session("MS_printer")
Set objPrinter = Server.CreateObject ("OlePrn.AspHelp")
objPrinter.Open strPrinter
ClusterRunning = objPrinter.IsCluster

Requirements

Target platform: Desktop