次の方法で共有


DeleteiSCSINode method of the CIM_iSCSIConfigurationService class

This method deletes an instance of SCSIProtocolController respresenting an iSCSI Node. If Sessions are active on iSCSIProtocolEndpoints belonging to this node an error will be returned. If no Sessions are active the scoped iSCSIProtocolEndpoints will be deleted.

Syntax

uint32 DeleteiSCSINode(
  [in] CIM_SCSIProtocolController REF iSCSINode
);

Parameters

iSCSINode [in]

The SCSIProtocolController instance representing the iSCSI Node that will be deleted.

Return value

Success (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

DMTF Reserved (6 4095)

SCSIProtocolController Non-Existent (4096)

Sessions Active on Node Ports (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

CIM_iSCSIConfigurationService