共用方式為


FailResource method of the MSCluster_Resource class

Forces this resource to become unavailable to simulate failure. Applications use this method to test their failover configurations.

Syntax

void FailResource();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_Resource