次の方法で共有


DeleteStorageHardwareID method of the CIM_StorageHardwareIDManagementService class

This method deletes a named CIM_StorageHardwareID, and also tears down the associations that are no longer needed, including CIM_ConcreteDependency and CIM_AuthorizedSubject.

Syntax

uint32 DeleteStorageHardwareID(
  [in] CIM_StorageHardwareID REF HardwareID
);

Parameters

HardwareID [in]

The storage hardware ID to be deleted.

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

CIM_StorageHardwareIDManagementService