OnlineDevice method of the CIM_LogicalDevice class
The OnlineDevice method has been deprecated in lieu of the more general RequestStateChange method that directly overlaps with the functionality provided by this method.
Syntax
uint32 OnlineDevice(
[in] boolean Online
);
Parameters
-
Online [in]
-
If TRUE, take the device online, if FALSE, take the device offline.
Return value
Returns a 0 on success; otherwise, returns an error.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\virtualization\v2 |
MOF |
|
DLL |
|