ClusterAddGroupToGroupSet function (clusapi.h)

Adds the specified group to a groupset in the cluster. The group must not currently be in a groupset

Syntax

DWORD ClusterAddGroupToGroupSet(
  [in] HGROUPSET hGroupSet,
  [in] HGROUP    hGroup
);

Parameters

[in] hGroupSet

The collection to which to add the group

[in] hGroup

The group to add to the collection

Return value

If the operation succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2016
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll