Partager via


DeleteProtocolController method of the MSISCSITARGET_ControllerConfigurationService class

The method deletes an instance of ProtocolController and all associations in which this ProtocolController is referenced.

Syntax

uint32 DeleteProtocolController(
  [in] CIM_ProtocolController REF ProtocolController,
  [in] boolean                    DeleteChildrenProtocolControllers,
  [in] boolean                    DeleteUnits
);

Parameters

ProtocolController [in]

The ProtocolController to be deleted.

DeleteChildrenProtocolControllers [in]

If true, the management instrumentation provider will also delete 'child' ProtocolControllers (i.e., those defined as Dependent references in instances of AssociatedProtocolController where this ProtocolController is the Antecedent reference). Also, all direct associations involving the 'child' ProtocolControllers will be removed.

DeleteUnits [in]

If true, the management instrumentation provider will also delete LogicalDevice instances associated via ProtocolControllerForUnit, to this ProtocolController and its children. (Note that 'child' controllers will only be affected if the DeleteChildrenProtocolControllers input parameter is TRUE). LogicalDevice instances are only deleted if there are NO remaining ProtocolControllerForUnit associations, to other ProtocolControllers.

Return value

Success (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

DMTF Reserved (6 4095)

LogicalDevices Associated to Other ProtocolControllers Not Deleted (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
SmIscsiTarget.mof
DLL
SMiSCSITargetProv.dll

See also

MSISCSITARGET_ControllerConfigurationService