共用方式為


Cluster object

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

Enables operations on the cluster and provides access to all of the objects in the cluster.

Members

The Cluster object has these types of members:

Methods

The Cluster object has these methods.

Method Description
Open Opens a connection to a cluster.

Properties

The Cluster object has these properties.

Property Description
CommonProperties
Returns the read/write common properties of the cluster.
CommonROProperties
Returns the read-only common properties of the cluster.
Name
Returns the current name of a cluster or allows a new name to be assigned.
NetInterfaces
Returns a ClusNetInterfaces collection providing access to the network interfaces in a cluster.
Networks
Returns a ClusNetworks collection providing access to the networks in a cluster.
Nodes
Returns a ClusNodes collection providing access to the nodes in a cluster.
PrivateProperties
Returns the read-only private properties of the cluster.
PrivateROProperties
Returns the read/write private properties of the cluster.
QuorumLogSize
Sets or returns the maximum size of the log file maintained by the quorum resource.
QuorumPath
Sets or returns the path to the log file maintained by the quorum resource.
QuorumResource
Specifies or returns a ClusResource object representing the current quorum resource for a cluster.
ResourceGroups
Returns a ClusResGroups collection providing access to the groups in a cluster.
Resources
Returns a ClusResources collection providing access to the resources in a cluster.
ResourceTypes
Returns a ClusResTypes collection providing access to the resource types in a cluster.
Version
Returns a ClusVersion object describing the cluster version.

Remarks

Cluster is a top-level object, allowing new object instances to be created. For example:

Dim objCluster as Cluster
Set objCluster = New Cluster

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_ISCluster is defined as F2E606E4-2631-11D1-89F1-00A0C90D061E

See also

Cluster Management Objects