CLUSCTL_RESOURCE_SET_COMMON_PROPERTIES

The CLUSCTL_RESOURCE_SET_COMMON_PROPERTIES control code is used to update the common properties for a resource.

Quick Info

Type: External
Access: CLUS_ACCESS_WRITE
Input: Property list
Output: None
Global: CLUS_NOT_GLOBAL
Modify: CLUS_MODIFY
Code: CLCTL_SET_COMMON_PROPERTIES

Notes to Callers

When you call ClusterResourceControl with the CLUSCTL_RESOURCE_SET_COMMON_PROPERTIES control code, pass a property list with the names and new values for the properties to update. The following properties may be modified with CLUSCTL_RESOURCE_SET_COMMON_PROPERTIES:

DebugPrefix

Description

IsAlivePollInterval

LooksAlivePollInterval

PendingTimeout

PersistentState

RestartAction

RestartPeriod

RestartThreshold

SeparateMonitor

Type

To retrieve the names and current values of the common resource properties, use the CLUSCTL_RESOURCE_GET_COMMON_PROPERTIES control code.

For an overall description of the common resource properties, see Common Resource Properties.

To construct a property list, use the property list utility functions.

Notes to Resource DLL Writers

Do not handle the CLUSCTL_RESOURCE_SET_COMMON_PROPERTIES control code. Instead, return ERROR_INVALID_FUNCTION from your ResourceControl entry point function. CLUSCTL_RESOURCE_SET_COMMON_PROPERTIES is handled by the Resource Monitor because it is aware of the valid formats and values for these properties.