次の方法で共有


ClusProperties collection

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

Provides access to the properties of a cluster object, allowing individual property values to be changed.

Members

The ClusProperties collection has these types of members:

Methods

The ClusProperties collection has these methods.

Method Description
CreateItem Creates a new ClusProperty object and adds it to the collection.
Refresh Updates the collection with current property data from the cluster database.
SaveChanges Saves all property data in the collection to the cluster database.
UseDefaultValue Deletes a property from the collection.

Properties

The ClusProperties collection has these properties.

Property Access type Description
Common
Read-only
Indicates whether the properties in the collection are common properties.
Count
Read-only
Returns the number of properties in the collection.
Item
Read-only
Returns a single property from the collection.
Modified
Read-only
Indicates whether any properties in the collection have been added, removed, or modified since the last Refresh or SaveChanges operation.
Private
Read-only
Indicates whether the properties in the collection are private properties.
ReadOnly
Read-only
Indicates whether the properties in the collection are read-only properties.

Remarks

A ClusProperties collection is similar to a property list in that the data in the collection is a local copy of real data stored in the cluster database. When an instance of the ClusProperties collection is created, it receives a snapshot of the stored data. Changes to the ClusProperties collection do not take effect in the cluster until the SaveChanges method is invoked. Similarly, changes to the cluster database are not reflected in the collection until the Refresh method is called.

A ClusProperties collection:

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

See also

Property Management Objects