次の方法で共有


ClusResource.Fail method

[The Fail method is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Initiates failure of the resource.

Syntax

ClusResource.Fail()

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

The Fail method causes the cluster to initiate the same procedures that would result if the resource had actually failed. Use the Fail method to test failover policies for resources and groups. For more information about resource failure policies, see Resource Failure.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header
MsClus.h
IDL
MsClus.idl
Type library
MsClus.tlb
DLL
MsClus.dll
IID
IID_ISClusResource is defined as F2E6070A-2631-11D1-89F1-00A0C90D061E

See also

ClusResource