AddClusterGroupSetDependency 函数 (clusapi.h)
在两个群集组集之间添加依赖项。 一个组集只能依赖于另一个组集。
语法
DWORD AddClusterGroupSetDependency(
[in] HGROUPSET hDependentGroupSet,
[in] HGROUPSET hProviderGroupSet
);
参数
[in] hDependentGroupSet
依赖集合
[in] hProviderGroupSet
集合 hDependentGroupSet 所依赖。
返回值
如果操作成功,函数将返回 ERROR_SUCCESS。
如果操作失败,该函数将返回 系统错误代码。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | 无受支持的版本 |
最低受支持的服务器 | Windows Server 2016 |
目标平台 | Windows |
标头 | clusapi.h |
Library | ClusAPI.lib |
DLL | ClusAPI.dll |