CLUSCTL_RESOURCE_SET_PRIVATE_PROPERTIES

The CLUSCTL_RESOURCE_SET_PRIVATE_PROPERTIES control code is used to update the private 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_PRIVATE_PROPERTIES

Notes to Callers

When you call ClusterResourceControl with the CLUSCTL_RESOURCE_SET_PRIVATE_PROPERTIES control code, pass a property list with the names and new values for the properties to update. This control code updates only those properties that are read/write and apply to a specific resource type. Private properties can include:

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

For an overall description of the private properties for resources belonging to the Cluster Server resource types, see Private Resource Properties.

Notes to Resource DLL Writers

Resource DLLs should always support the CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES control code in their ResourceControl entry point functions. By providing support for this code, you can insure that only properties and property values known to the resource can be specified.

The output should be a property list that includes the names and data values for all of the read/write properties specific to your resource. It is important to remember to terminate the list with a final entry that contains only the CLUSPROP_SYNTAX_ENDMARK value.

If you do not support the CLUSTCTL_RESOURCE_SET_PRIVATE_PROPERTIES control code in your ResourceControl entry point function, then the Resource Monitor uses the information in the input buffer to update the cluster database.