Partager via


OnlineDevice method of the CIM_Processor class

This method is deprecated. Instead, use the RequestStateChange method.

Deprecated description: Brings the logical device online so it can accept requests, or offline so it can no longer accept requests.

This method is inherited from CIM_LogicalDevice.

Syntax

uint32 OnlineDevice(
  [in] boolean Online
);

Parameters

Online [in]

true to bring the device online, false to take the device offline.

Return value

The possible return values are.

0

The operation completed successfully.

1

The operation was not completed because it is not supported.

2

The operation is not supported when the device is in the current state.

3 ...

The operation was not completed because an error occurred.

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_Processor