Freigeben über


ClusResGroup.Move method

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

Moves a group and all of its resources from one node to another.

Syntax

ClusResGroup.Move( _
  ByVal varTimeout, _
  [ ByVal objNode ] _
)

Parameters

varTimeout

A Variant that specifies how long (in seconds) the method should wait for the move to complete before setting varPending to TRUE and returning.

objNode [optional]

Optional. A ClusNode object that represents the node to which the group should be moved. If no node is specified, the Move method moves the group to the best available node.

Return value

A Variant that is set to TRUE if the request is still pending.

Remarks

Unless a node is specified, Move automatically selects the destination node on the basis of the following data:

Move selects the most preferred node from the set of possible active nodes. If no active nodes are listed as possible owners by all resources in the group, Move fails.

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

ClusNode

ClusResGroup