Partager via


DeleteiSCSIProtocolEndpoint method of the MSISCSITARGET_iSCSIConfigurationService class

Deletes an instance of the MSISCSITARGET_iSCSIProtocolEndpoint class and all associations in which it is referenced.

This method is inherited from the CIM_iSCSIConfigurationService class.

Syntax

uint32 DeleteiSCSIProtocolEndpoint(
  [in] CIM_iSCSIProtocolEndpoint Ref iSCSIPort
);

Parameters

iSCSIPort [in]

Specifies the CIM_iSCSIProtocolEndpoint instance to be deleted.

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)

Endpoint Non-Existent (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_iSCSIConfigurationService