SetClusterQuorumResource

The SetClusterQuorumResource function sets the quorum resource for a cluster.

DWORD WINAPI SetClusterQuorumResource(
  HRESOURCE hResource,  
  LPCWSTR lpszDeviceName,  
  DWORD dwMaxQuoLogSize 
);
 

Parameters

hResource
[in] Handle to the new quorum resource.
lpszDeviceName
[in] Pointer to the name of the device where the quorum resource resides.
dwMaxQuoLogSize
[in] Maximum size for the log file to be maintained by the quorum resource.

Return Values

ERROR_SUCCESS
The operation was successful.
ERROR_RESOURCE_NOT_ONLINE
The quorum resource is not online.

If the operation was unsuccessful, SetClusterQuorumResource can also return a Win32 error value.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.