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