CreateGroup method of the MSCluster_ResourceGroup class
Creates a group and brings it online.
Syntax
void CreateGroup(
[in] string GroupName,
[in] uint32 GroupType,
[in, out] string Id
);
Parameters
-
GroupName [in]
-
The new group name.
-
GroupType [in]
-
The resource group type.
-
File Server (100)
-
Print Server (101)
-
DHCP Server (102)
-
DTC (103)
-
Message Queuing (104)
-
WINS Server (105)
-
DFS Namespace Server (106)
-
Generic Application (107)
-
Generic Service (108)
-
Generic Script (109)
-
iSNS Cluster Resource (110)
-
Virtual Machine (111)
-
TS Session Broker (112)
-
iSCSI Target Server (113)
-
Scale-Out File Server (114)
-
Hyper-V Replica Broker (115)
-
Unknown (9999)
**Windows Server 2008 R2 and Windows Server 2008: **
This parameter is not supported before Windows Server 2012.
Id [in, out]
Id of the resource group.
**Windows Server 2008 R2 and Windows Server 2008: **
This parameter is not supported before Windows Server 2012.
Return value
This method does not return a value.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\MSCluster |
MOF |
|
DLL |
|