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.RemoveIScsiConnection |
RemoveIScsiConnection function (iscsidsc.h) |
RemoveIscsiConnection function removes a connection from an active session. |
|
iscsidisc\removeiscsiconnection.htm |
iSCSIDisc |
1d34348a-b16a-4420-88e1-092e3f521ea5 |
12/05/2018 |
RemoveIScsiConnection, RemoveIscsiConnection, RemoveIscsiConnection function [iSCSI Discovery Library API], iscsidisc.removeiscsiconnection, iscsidsc/RemoveIscsiConnection |
iscsidsc.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Iscsidsc.lib |
Iscsidsc.dll |
Windows |
19H1 |
|
|
|
|
|
|
The RemoveIscsiConnection function removes a connection from an active session.
A pointer to a structure of type ISCSI_UNIQUE_SESSION_ID that specifies the unique session identifier of the session that the connection belongs to.
A pointer to a structure of type ISCSI_UNIQUE_CONNECTION_ID that specifies the connection to remove.
Returns ERROR_SUCCESS if the operation succeeds. Otherwise, it returns the appropriate Win32 or iSCSI error code.
The RemoveIscsiConnection function will not remove the last connection of a session or the leading connection of a session. The caller must close the session by calling LogoutIscsiTarget to remove the last connection.