Partager via


MaintenanceMode

Contains the maintenance mode of the Physical Disk resource. The following table summarizes the attributes of the MaintenanceMode property.

Attribute Value
Data type DWORD
Access Read/write
Status Optional
Structure CLUSPROP_DWORD
Minimum 0
Maximum 3
Default 0

Remarks

The constant for this property is CLUSREG_NAME_PHYSDISK_MAINTMODE.

The MaintenanceMode property can be set to one of the following values enumerated by the MAINTENANCE_MODE_TYPE_ENUM enumeration.

Value Description
0 The physical disk resource is not in a maintenance mode.
MaintenanceModeTypeDisableIsAliveCheck (1) Indicates that the server is ignoring the result of the resource's health check.
MaintenanceModeTypeOfflineResource (2) Indicates that the server has internally performed the operations to bring the storage resource to the ClusterResourceOffline state without changing the client visible state of the resource.
MaintenanceModeTypeUnclusterResource (3) Indicates the server has released ownership of the storage resource.

These enumeration values are defined in ClusAPI.h.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Physical Disk Private Properties

MAINTENANCE_MODE_TYPE_ENUM

CLUSPROP_DWORD