AddClusterGroupDependency function (clusapi.h)

Adds a dependency between two cluster groups.

Syntax

DWORD AddClusterGroupDependency(
  [in] HGROUP hDependentGroup,
  [in] HGROUP hProviderGroup
);

Parameters

[in] hDependentGroup

The dependent group

[in] hProviderGroup

The group 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