Skip to content

Latest commit

 

History

History
82 lines (65 loc) · 3.45 KB

nf-iscsidsc-removeiscsisendtargetportala.md

File metadata and controls

82 lines (65 loc) · 3.45 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:iscsidsc.RemoveIScsiSendTargetPortalA
RemoveIScsiSendTargetPortalA function (iscsidsc.h)
RemoveIscsiSendTargetPortal function removes a portal from the list of portals to which the iSCSI initiator service sends SendTargets requests for target discovery. (ANSI)
RemoveIScsiSendTargetPortalA
RemoveIscsiSendTargetPortalA
iscsidsc/RemoveIscsiSendTargetPortalA
iscsidisc\removeiscsisendtargetportal.htm
iSCSIDisc
f9c05a86-3484-4092-b384-c599fbf1e60f
12/05/2018
RemoveIScsiSendTargetPortalA, RemoveIscsiSendTargetPortal, RemoveIscsiSendTargetPortal function [iSCSI Discovery Library API], RemoveIscsiSendTargetPortalA, RemoveIscsiSendTargetPortalW, iscsidisc.removeiscsisendtargetportal, iscsidsc/RemoveIscsiSendTargetPortal, iscsidsc/RemoveIscsiSendTargetPortalA, iscsidsc/RemoveIscsiSendTargetPortalW
iscsidsc.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
RemoveIscsiSendTargetPortalW (Unicode) and RemoveIscsiSendTargetPortalA (ANSI)
Iscsidsc.lib
Iscsidsc.dll
Windows
19H1
RemoveIScsiSendTargetPortalA
iscsidsc/RemoveIScsiSendTargetPortalA
c++
APIRef
kbSyntax
DllExport
Iscsidsc.dll
RemoveIscsiSendTargetPortal
RemoveIscsiSendTargetPortalA
RemoveIscsiSendTargetPortalW

RemoveIScsiSendTargetPortalA function

-description

The RemoveIscsiSendTargetPortal function removes a portal from the list of portals to which the iSCSI initiator service sends SendTargets requests for target discovery.

-parameters

-param InitiatorInstance [in, optional]

The name of the Host Bus Adapter (HBA) that the iSCSI initiator service uses to establish a discovery session and perform SendTargets requests. A value of null indicates that the iSCSI initiator service will use any HBA that is capable of accessing the target portal.

-param InitiatorPortNumber [in, optional]

The port number on the HBA that the iSCSI initiator service use to perform SendTargets requests.

-param Portal [in]

A pointer to a structure of type ISCSI_TARGET_PORTAL that specifies the target portal that the iSCSI initiator service removes from its list of portals.

-returns

Returns ERROR_SUCCESS if the operation succeeds. Otherwise, it returns the appropriate Win32 or iSCSI error code.

-see-also

ISCSI_TARGET_PORTAL

-remarks

Note

The iscsidsc.h header defines RemoveIScsiSendTargetPortal as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.