NODE_CLUSTER_STATE枚举 (msclus.h)

指示群集的状态。 GetNodeClusterState 函数使用此枚举。

语法

typedef enum NODE_CLUSTER_STATE {
  ClusterStateNotInstalled = 0,
  ClusterStateNotConfigured = 0x1,
  ClusterStateNotRunning,
  ClusterStateRunning
} ;

常量

 
ClusterStateNotInstalled
值: 0
节点上未安装群集服务。
ClusterStateNotConfigured
值: 0x1
群集服务已安装在节点上,但尚未配置。
ClusterStateNotRunning
群集服务已在节点上安装和配置,但当前未运行。
ClusterStateRunning
群集服务在节点上安装、配置和运行。

注解

以下常量在 ClusAPI.h 中定义。

常数 Value
CLUSTER_INSTALLED 0x00000001
CLUSTER_CONFIGURED 0x00000002
CLUSTER_RUNNING 0x00000010

要求

要求
最低受支持的客户端 无受支持的版本
最低受支持的服务器 Windows Server 2008 企业版、Windows Server 2008 Datacenter
标头 msclus.h

另请参阅

故障转移群集枚举

GetNodeClusterState