SetGroupDependencyExpression function (clusapi.h)
Sets the dependency expression for a cluster group.
Syntax
DWORD SetGroupDependencyExpression(
[in] HGROUP hGroup,
[in] LPCWSTR lpszDependencyExpression
);
Parameters
[in] hGroup
A handle to the group on which to set the dependency expression.
[in] lpszDependencyExpression
The dependency expression to set on the group.
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 |