Bagikan melalui


Failover method of the CIM_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.

Completed with No Error

0

Not Supported

1

Unknown/Unspecified Error

2

Busy/In Use

3

Paramter Error

4

Parameter Error

DMTF Reserved

5 32767

Vendor Reserved

32768 65535

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

CIM_RedundancySet