共用方式為


ClusResGroupPreferredOwnerNodes.AddItem method

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

Adds a node to the ClusResGroupPreferredOwnerNodes collection.

Syntax

ClusResGroupPreferredOwnerNodes.AddItem( _
  ByVal objNode _
)

Parameters

objNode

A ClusNode object to be added to the collection.

Return value

This method does not return a value.

Remarks

Adding a node to a group's ClusResGroupPreferredOwnerNodes collection means that the node is listed as a preferred owner node for the group.

The AddItem method always adds a node at the end of the list, giving it the lowest priority. To add a node and specify its priority in the list, see ClusResGroupPreferredOwnerNodes.InsertItem.

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

See also

ClusNode

ClusResGroupPreferredOwnerNodes

ClusResGroupPreferredOwnerNodes.InsertItem