NetUseDel(server, useName, forceCond)

Ends connection to a shared resource.


server : string/PyUnicode

The name of the server, or None.

useName : string/PyUnicode

The share name

forceCond=0 : int

Level of force to use. Can be USE_FORCE or USE_NOFORCE or USE_LOTS_OF_FORCE

Win32 API References

Search for NetUseDel at msdn, google or google groups.