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:
- The set of currently active nodes.
- The group's prioritized list of preferred owner nodes (see ClusResGroup.PreferredOwnerNodes).
- The set of nodes listed as possible owners by all resources in the group. To access the possible owners list for a resource, use the ClusResource.PossibleOwnerNodes property.
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 |
|
IDL |
|
Type library |
|
DLL |
|
IID |
IID_ISClusResGroup is defined as F2E60706-2631-11D1-89F1-00A0C90D061E |