SetClusterGroupSetDependencyExpression function (clusapi.h)

Sets the dependency expression for a cluster groupset.

Syntax

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

Parameters

[in] hGroupSet

The collection to receive the dependency expression

[in] lpszDependencyExprssion

The dependency expression for hCollection

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