win32net.NetWkstaTransportDel
NetWkstaTransportDel(server, TransportName, ucond)
unbinds the transport protocol from redirector
Parameters
server : string/PyUnicode
The name of the server, or None.TransportName : string/PyUnicode
The name of the transport to delete.ucond=0 : int
Level of force to use. Can be USE_FORCE or USE_NOFORCE or USE_LOTS_OF_FORCE
Win32 API References
Search for NetWkstaTransportDel at msdn, google or google groups.