AddClusterGroupSetDependency function (clusapi.h)

Adds a dependency between two cluster groupsets. A groupset can only be dependent on one other groupset.

Syntax

DWORD AddClusterGroupSetDependency(
  [in] HGROUPSET hDependentGroupSet,
  [in] HGROUPSET hProviderGroupSet
);

Parameters

[in] hDependentGroupSet

The dependent collection

[in] hProviderGroupSet

The collection hDependentGroupSet 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