次の方法で共有


ShutdownTimeoutInMinutes

Specifies how many minutes after a system shutdown is initiated that the failover cluster service will wait for resources to go offline. The following table summarizes the attributes of the ShutdownTimeoutInMinutes property.

Attribute Value
Data type
DWORD
Access
Read/write
Structure
CLUSPROP_DWORD
Minimum
0
Maximum
1440
Default
20

Remarks

The constant for this property is CLUSREG_NAME_SHUTDOWN_TIMEOUT_MINUTES.

This property is also exposed as the ShutdownTimeoutInMinutes property of the MSCluster_Cluster WMI class.

Note

If the Hyper-V role is installed, the default time-out value is calculated based on the size of physical memory, using a ratio of 100 minutes / 64 GB. The minimum computed value is 20 minutes.

Examples

The property value portion of a property list entry for ShutdownTimeoutInMinutes can be set with the following example code:

CLUSPROP_DWORD ShutdownTimeoutInMinutesValue;

ShutdownTimeoutInMinutesValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
ShutdownTimeoutInMinutesValue.cbLength  = sizeof(DWORD);
ShutdownTimeoutInMinutesValue.dw        = 15;

Requirements

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

See also

Cluster Common Properties

CLUSPROP_DWORD

MSCluster_Cluster