Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method removes the ProtocolControllerForDevice association subclass between the ProtocolController and a LogicalDevice, such as a StorageVolume or a MediaAccessDevice. When the ProtocolController is actively masking a device (i.e. is part of an AuthorizedTarget association, the management instrumentation provider should update the hardware access configuration when DetachDevice is called.
Syntax
uint32 DetachDevice(
[in] CIM_ProtocolController REF ProtocolController,
[in] CIM_LogicalDevice REF Device
);
Parameters
-
ProtocolController [in]
-
The ProtocolController instance.
-
Device [in]
-
The LogicalDevice instance to detach.
Return value
-
Success (0)
-
Not Supported (1)
-
Unspecified Error (2)
-
Timeout (3)
-
Failed (4)
-
Invalid Parameter (5)
-
DMTF Reserved (6 4095)
-
LogicalDevice Instance not Associated with Controller (4096)
-
Busy (4097)
-
Method Reserved (4098 32767)
-
Vendor Specific (32768 65535)
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\CIMv2\Storage\iScsiTarget |
MOF |
|
DLL |
|