The AddConnectionToSession method instructs the miniport driver that manages an iSCSI initiator HBA to add a new connection to a logon session.
Miniport drivers that support the MSiSCSI_Operations class must provide at least a stub for this method, but the implementation of the method's functionality is optional. 如果该方法未实现添加连接功能,则它应返回错误。
AddConnectionToSession belongs to the unpublished MSiSCSI_Operations WMI Class. For a description of the parameters of the AddConnectionToSession method, see the member descriptions for the AddConnectionToSession_IN and AddConnectionToSession_OUT structures.