共用方式為


resapi.h () CLUSTER_ROLE 列舉

包含標準叢集角色的名稱。

Syntax

typedef enum _CLUSTER_ROLE {
  ClusterRoleDHCP,
  ClusterRoleDTC,
  ClusterRoleFileServer,
  ClusterRoleGenericApplication,
  ClusterRoleGenericScript,
  ClusterRoleGenericService,
  ClusterRoleISCSINameServer,
  ClusterRoleMSMQ,
  ClusterRoleNFS,
  ClusterRolePrintServer,
  ClusterRoleStandAloneNamespaceServer,
  ClusterRoleVolumeShadowCopyServiceTask,
  ClusterRoleWINS,
  ClusterRoleTaskScheduler,
  ClusterRoleNetworkFileSystem,
  ClusterRoleDFSReplicatedFolder,
  ClusterRoleDistributedFileSystem,
  ClusterRoleDistributedNetworkName,
  ClusterRoleFileShare,
  ClusterRoleFileShareWitness,
  ClusterRoleHardDisk,
  ClusterRoleIPAddress,
  ClusterRoleIPV6Address,
  ClusterRoleIPV6TunnelAddress,
  ClusterRoleISCSITargetServer,
  ClusterRoleNetworkName,
  ClusterRolePhysicalDisk,
  ClusterRoleSODAFileServer,
  ClusterRoleStoragePool,
  ClusterRoleVirtualMachine,
  ClusterRoleVirtualMachineConfiguration,
  ClusterRoleVirtualMachineReplicaBroker,
  ClusterRoleKeyValueStore
} CLUSTER_ROLE;

常數

 
ClusterRoleDHCP
DHCP 叢集角色。
ClusterRoleDTC
分散式交易協調器 (MSDTC) 角色。
ClusterRoleFileServer
檔案共用角色。
ClusterRoleGenericApplication
一般應用程式角色。
ClusterRoleGenericScript
一般腳本角色。
ClusterRoleGenericService
一般服務角色。
ClusterRoleISCSINameServer
Microsoft 因特網記憶體名稱服務 (iSNS) 角色。
ClusterRoleMSMQ
Microsoft 消息佇列角色。
ClusterRoleNFS
網路文件系統 (NFS) 共用角色。
ClusterRolePrintServer
列印後台處理程式叢集角色。
ClusterRoleStandAloneNamespaceServer
特製化的檔案共用角色。
ClusterRoleVolumeShadowCopyServiceTask
磁碟區陰影複製服務工作角色。
ClusterRoleWINS
WINS 服務角色。
ClusterRoleTaskScheduler
工作排程器角色。
ClusterRoleNetworkFileSystem
網路檔案系統角色。
ClusterRoleDFSReplicatedFolder
分散式文件系統 (DFS) 複寫的資料夾角色。
ClusterRoleDistributedFileSystem
分散式文件系統 (DFS) 角色。
ClusterRoleDistributedNetworkName
分散式網路名稱角色。
ClusterRoleFileShare
檔案共用角色。
ClusterRoleFileShareWitness
檔案共享見證角色
ClusterRoleHardDisk
硬碟角色。
ClusterRoleIPAddress
IP 位址角色。
ClusterRoleIPV6Address
IPV6 位址角色。
ClusterRoleIPV6TunnelAddress
IPV6 通道位址角色。
ClusterRoleISCSITargetServer
ISCSI 目標伺服器角色。
ClusterRoleNetworkName
網路名稱角色。
ClusterRolePhysicalDisk
實體磁碟角色。
ClusterRoleSODAFileServer
Scale-Out (SODA) 檔案伺服器角色
ClusterRoleStoragePool
存放集區角色。
ClusterRoleVirtualMachine
虛擬機角色。
ClusterRoleVirtualMachineConfiguration
虛擬機組態角色。
ClusterRoleVirtualMachineReplicaBroker
虛擬機復本代理人角色。

規格需求

需求
最低支援的用戶端 都不支援
最低支援的伺服器 Windows Server 2008 Datacenter、Windows Server 2008 企業版
標頭 resapi.h

另請參閱

故障轉移叢集列舉

ResUtilGetClusterRoleState