次の方法で共有


ClusResGroup object

[The ClusResGroup 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 a group, its properties, and related objects. Use ClusResGroup to move groups between nodes, bring groups online and offline, access the resources in the group, and perform other group-related tasks.

Members

The ClusResGroup object has these types of members:

Methods

The ClusResGroup object has these methods.

Method Description
Delete Deletes a group from the collection.
Move Moves a group to the most preferred possible node.
Offline Takes a group offline.
Online Brings a group online.

Properties

The ClusResGroup object has these properties.

Property Access type Description
Cluster
Read-only
Returns the cluster associated with a group.
CommonProperties
Read-only
Returns a ClusProperties collection containing the group's read/write common properties.
CommonROProperties
Read-only
Returns a ClusProperties collection containing the group's read-only common properties.
Name
Read-only
Read/write property that sets the name of a group.
OwnerNode
Read-only
Returns a group's node.
PreferredOwnerNodes
Read-only
Returns a ClusResGroupPreferredOwnerNodes collection providing access to the nodes that belong in a group's preferred owner list.
PrivateProperties
Read-only
Returns a ClusProperties collection containing the group's read/write private properties.
PrivateROProperties
Read-only
Returns a ClusProperties collection containing the group's read-only private properties.
Resources
Read-only
Returns a ClusResGroupResources collection providing access to the resources in a group.
State
Read-only
Returns the state of a group.

Remarks

A ClusResGroup object:

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

See also

Group Management Objects