次の方法で共有


GetGroupType method of the MSCluster_ResourceGroup class

Gets the group type for this resource group.

Syntax

uint32 GetGroupType();

Parameters

This method has no parameters.

Return value

This method returns one of the following values:

File Server

100

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is FileServer before Windows Server 2012 R2 .

Print Server

101

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is PrintServer before Windows Server 2012 R2 .

DHCP Server

102

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is DhcpServer before Windows Server 2012 R2 .

DTC

103

Message Queuing

104

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is Msmq before Windows Server 2012 R2 .

WINS Server

105

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is Wins before Windows Server 2012 R2 .

DFS Namespace Server

106

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is StandAloneDfs before Windows Server 2012 R2 .

Generic Application

107

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is GenericApplication before Windows Server 2012 R2 .

Generic Service

108

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is GenericService before Windows Server 2012 R2 .

Generic Script

109

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is GenericScript before Windows Server 2012 R2 .

iSNS Cluster Resource

110

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is IScsiNameService before Windows Server 2012 R2 .

Virtual Machine

111

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is Virtual Machine before Windows Server 2012 R2 .

TS Session Broker

112

**Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **

This value is TsSessionBroker before Windows Server 2012 R2 .

iSCSI Target Server

113

Scale-Out File Server

114

Hyper-V Replica Broker

115

Unknown

9999

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
Header
Dvbsiparser.h
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_ResourceGroup