CLUS_MAINTENANCE_MODE_INFO structure (clusapi.h)
Enables or disables maintenance mode on a cluster node.
Syntax
typedef struct CLUS_MAINTENANCE_MODE_INFO {
BOOL InMaintenance;
} CLUS_MAINTENANCE_MODE_INFO, *PCLUS_MAINTENANCE_MODE_INFO;
Members
InMaintenance
Set to TRUE to enable or FALSE to disable maintenance mode for the identified resource.
When queried, a resource will return True or False to indicate the current maintenance mode state of the resource.
Remarks
When using ClusterResourceControl to enable or disable maintenance mode on a specified resource, the calling routine can specify a larger buffer with addition resource-specific data by including it immediately after the CLUS_MAINTENANCE_MODE_INFO structure. This data then becomes private to the resource as it cannot be retrieved by the calling program using the CLUSCTL_RESOURCE_QUERY_MAINTENANCE_MODE control code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Enterprise with SP1, Windows Server 2008 Datacenter with SP1 |
Header | clusapi.h |
See also
CLUSCTL_RESOURCE_QUERY_MAINTENANCE_MODE