共用方式為


ClusResource.BecomeQuorumResource method

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

Establishes a resource as the quorum resource for the cluster.

Syntax

ClusResource.BecomeQuorumResource( _
  ByVal strDevicePath, _
  ByVal lMaxLogSize _
)

Parameters

strDevicePath

String specifying the path to the quorum resource.

lMaxLogSize

Long specifying the maximum size that the cluster recovery log can attain, as determined by the storage capacity of the resource.

Return value

This method does not return a value.

Remarks

Failover clusters only allow Physical Disk resources to operate as quorum resources. However, you can enable other storage devices to act as quorum resources by creating a custom resource type. For more information, see Creating a Custom Resource Type and Quorum Resource.

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