次の方法で共有


ClusResDependencies collection

[The ClusResDependencies 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 dependencies of a resource. Resources added to a ClusResDependencies collection become dependencies of the resource from which the collection was obtained.

Members

The ClusResDependencies collection has these types of members:

Methods

The ClusResDependencies collection has these methods.

Method Description
AddItem Adds an existing cluster resource to the dependency collection.
CreateItem Creates a new resource in the cluster and adds it to the dependency collection.
DeleteItem Removes a resource from the dependency collection and deletes the resource from the cluster.
Refresh Refreshes the data in the collection.
RemoveItem Removes a dependency from the collection.

Properties

The ClusResDependencies collection has these properties.

Property Access type Description
Count
Read-only
Returns the number of dependencies in the collection.
Item
Read-only
Returns a single dependency from the collection.

Remarks

A ClusResDependencies 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_ISClusResDependencies is defined as F2E60704-2631-11D1-89F1-00A0C90D061E

See also

Resource Management Objects