Share via


DeleteStorageHardwareID method of the MSISCSITARGET_StorageHardwareIDManagementService class

Deletes a specified MSISCSITARGET_StorageHardwareID instance, and deletes the associations that are no longer needed, which include the MSISCSITARGET_ConcreteDependency and MSISCSITARGET_AuthorizedSubject classes.

This method overrides the method inherited from the CIM_StorageHardwareIDManagementService class.

Syntax

uint32 DeleteStorageHardwareID(
  [in] CIM_StorageHardwareID REF HardwareID
);

Parameters

HardwareID [in]

Specifies the storage hardware ID to delete.

Return value

Success (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

DMTF Reserved (6 4095)

Specified instance not found (4096)

Method Reserved (4097 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_StorageHardwareIDManagementService