AddClusterGroupToGroupSetDependency function (clusapi.h)

Adds a dependency between a cluster group and a cluster groupset.A group can only be dependent on one groupset.

Syntax

DWORD AddClusterGroupToGroupSetDependency(
  [in] HGROUP    hDependentGroup,
  [in] HGROUPSET hProviderGroupSet
);

Parameters

[in] hDependentGroup

The dependent group

[in] hProviderGroupSet

The collection hDependentGroup depends on

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