Share via


Failover method of the Msvm_RedundancySet class

Forces a failover from one managed element to another.

Syntax

uint32 Failover(
  [in] CIM_ManagedElement REF FailoverFrom,
  [in] CIM_ManagedElement REF FailoverTo
);

Parameters

FailoverFrom [in]

A reference to the primary managed system element that will become inactive.

FailoverTo [in]

A reference to the managed system element that will take over from the primary managed system element.

Return value

The possible return values are.

0

Completed with No Error

1

Not Supported

2

Unknown/Unspecified Error

3

Busy/In Use

4

Parameter Error

5 32767

DMTF Reserved

32768 65535

Vendor Reserved

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

Msvm_RedundancySet