The RemoveConnectionFromSession method instructs the miniport driver that manages an iSCSI initiator HBA to remove a connection from a logon session.
iSCSI 发起程序(即虚拟微型端口驱动程序)不支持具有多个连接的会话。 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.
实现 MSiSCSI_Operations WMI 类的微型端口驱动程序必须支持此方法。