共用方式為


RemoveConnectionFromSession

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 類別的迷你埠驅動程式必須支援這個方法。