Compartir a través de


OnlineDevice method of the Msvm_RdvComponent 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.

Syntax

uint32 OnlineDevice(
  [in] boolean Online
);

Parameters

Online [in]

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

Return value

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 = value

The operation was not completed because an error occurred.

Requirements

Namespace
Root\virtualization
MOF
WindowsVirtualization.mof

See also

CIM_LogicalDevice

Msvm_RdvComponent