RemoveConnectionFromSession

The RemoveConnectionFromSession method instructs the miniport driver that manages an iSCSI initiator HBA to remove a connection from a logon session.

iSCSI-initieraren (dvs. den virtuella miniportdrivrutinen) stöder inte sessioner med flera anslutningar. Do not use RemoveConnectionFromSession with the iSCSI initiator.

The RemoveConnectionFromSession method will not remove the last connection from a session. You should close sessions with a single connection with the LogoutFromTarget method.

RemoveConnectionFromSession belongs to the unpublished MSiSCSI_Operations WMI class. For a description of the parameters of the RemoveConnectionFromSession method, see the member descriptions for the RemoveConnectionFromSession_IN and RemoveConnectionFromSession_OUT structures.

Miniportdrivrutiner som implementerar WMI-klassen MSiSCSI_Operations måste ha stöd för den här metoden.