SetClusterGroupSetDependencyExpression 函数 (clusapi.h)

设置群集组集的依赖项表达式。

语法

DWORD SetClusterGroupSetDependencyExpression(
  [in] HGROUPSET hGroupSet,
  [in] LPCWSTR   lpszDependencyExprssion
);

参数

[in] hGroupSet

要接收依赖项表达式的集合

[in] lpszDependencyExprssion

hCollection 的依赖项表达式

返回值

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

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

要求

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