Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.54 KB

nf-iscsidsc-removeiscsiconnection.md

File metadata and controls

75 lines (60 loc) · 2.54 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.RemoveIScsiConnection
RemoveIScsiConnection function (iscsidsc.h)
RemoveIscsiConnection function removes a connection from an active session.
RemoveIScsiConnection
RemoveIscsiConnection
RemoveIscsiConnection function [iSCSI Discovery Library API]
iscsidisc.removeiscsiconnection
iscsidsc/RemoveIscsiConnection
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
RemoveIScsiConnection
iscsidsc/RemoveIScsiConnection
c++
APIRef
kbSyntax
DllExport
Iscsidsc.dll
RemoveIscsiConnection

RemoveIScsiConnection function

-description

The RemoveIscsiConnection function removes a connection from an active session.

-parameters

-param UniqueSessionId [in]

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.

-param ConnectionId [in]

A pointer to a structure of type ISCSI_UNIQUE_CONNECTION_ID that specifies the connection to remove.

-returns

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

-remarks

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.

-see-also

LogoutIscsiTarget