EnableDevice method of the MSISCSITARGET_StorageVolume class
Requests that the logical device be enabled or disabled. Deprecated, use the RequestStateChange method instead.
This method is inherited from the CIM_LogicalDevice class.
Syntax
uint32 EnableDevice(
[in] boolean Enabled
);
Parameters
-
Enabled [in]
-
Set True to enable the device, false to disable the device.
Return value
-
0
Success.
-
1
The request is not supported.
-
2 = value
Undefined error.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\CIMv2\Storage\iScsiTarget |
MOF |
|
DLL |
|