AddClusterGroupToGroupSetDependency 函数 (clusapi.h)

在群集组和群集组集之间添加依赖项。一个组只能依赖于一个组集。

语法

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

参数

[in] hDependentGroup

依赖组

[in] hProviderGroupSet

集合 hDependentGroup 依赖于

返回值

如果操作成功,函数将返回 ERROR_SUCCESS

如果操作失败,函数将返回 系统错误代码

要求

要求
最低受支持的客户端 无受支持的版本
最低受支持的服务器 Windows Server 2016
目标平台 Windows
标头 clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll