共用方式為


IsAlivePollInterval

Provides the recommended interval in milliseconds at which the Cluster service should poll the resource to determine if it is operational. The polling occurs when the Resource Monitor calls the resource DLL's IsAlive entry point function. The following table summarizes the attributes of the IsAlivePollInterval property.

Attribute Value
Data type
DWORD
Access
Read/write
Structure
CLUSPROP_DWORD
Minimum
10
Maximum
0xFFFFFFFF
Default
60000 (1 minute)

Remarks

If a resource does not set the IsAlivePollInterval property or sets it to 1, the Cluster service uses the IsAlivePollInterval property for the resource type associated with the resource.

The data value for IsAlivePollInterval cannot be zero.

Examples

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

DWORD          IsAlivePollIntervalData = 300;
CLUSPROP_DWORD IsAlivePollIntervalValue;

IsAlivePollIntervalValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
IsAlivePollIntervalValue.cbLength  = sizeof(DWORD);
IsAlivePollIntervalValue.dw        = IsAlivePollIntervalData;

Requirements

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

See also

Resource Common Properties

CLUSPROP_DWORD

IsAlive

IsAlivePollInterval