Remove method of the MSFT_iSCSITargetPortal class

Removes an iSCSI target portal.

Syntax

uint32 Remove(
  [in] string InitiatorInstanceName,
  [in] string InitiatorPortalAddress,
  [in] uint16 TargetPortalPortNumber,
  [in] string TargetPortalAddress
);

Parameters

InitiatorInstanceName [in]

The name of the initiator instance.

InitiatorPortalAddress [in]

The IP address or DNS name associated with the initiator portal.

TargetPortalPortNumber [in]

The TCP port number for the target portal.

TargetPortalAddress [in]

The string representing the IP or DNS address of the target portal.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\Microsoft\Windows\Storage
MOF
Iscsiwmiv2.mof

See also

MSFT_iSCSITargetPortal