ClusResGroupPreferredOwnerNodes.InsertItem method

[The InsertItem 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.InsertItem( _
  ByVal objNode, _
  ByVal lPosition _
)

Parameters

objNode

A ClusNode object to be added to the collection.

lPosition

Optional. Long that identifies the location within the collection to add the new node. Highly preferred, high-priority nodes have low position values (that is, they occur first in the list).

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. Use lPosition to specify an order of preference, with low values corresponding to highly preferred, high-priority nodes.

To add a node to the end of the list, use the ClusResGroupPreferredOwnerNodes.AddItem method.

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.AddItem