Share via


DeleteProtocolController method of the MSISCSITARGET_ControllerConfigurationService class

Deletes an instance of CIM_ProtocolController and all associations in which this CIM_ProtocolController is referenced.

This method overrides the method inherited from the CIM_ControllerConfigurationService class.

Syntax

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

Parameters

ProtocolController [in]

Specifies the storage protocol controller to be deleted.

DeleteChildrenProtocolControllers [in]

If True, the Storage Management Initiative Specification (SMI-S) provider will delete associated dependent protocol controllers.

DeleteUnits [in]

If True, the SMI-S provider will also delete the CIM_LogicalDevice instances associated with this CIM_ProtocolController in a MSISCSITARGET_ProtocolControllerForUnit instance.

If the DeleteChildrenProtocolControllers parameter is True the CIM_LogicalDevice objects associated with the deleted dependent protocol controllers will also be deleted.

Note

CIM_LogicalDevice instances will not be deleted as long as they are associated with any other protocol controllers.

Return value

This method returns one of the following values.

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

MSISCSITARGET_ProtocolControllerForUnit